Use
Keep it simple
White on black, black on white. The orange square is always Primitive orange, #ff8820, and always sits in the passage. Clear space on every side is one gate pitch: the width of a square plus its gap. The smallest lockup is 24px tall on screen.