Инвертированные QR Code: Белый на темном фоне
Creating inverted (negative) QR codes for dark backgrounds. Compatibility issues, scanner support, and design workarounds.
Inverted QR Codes: White on Dark Backgrounds
Inverted (negative) QR codes display white modules on a dark background. They can look striking, but scanner compatibility varies and special precautions are needed.
How Inverted Codes Work
Standard QR codes are dark-on-light. An inverted QR code reverses this: white (or light) modules on a dark background. The finder patterns, timing patterns, and data modules are all inverted.
Scanner Compatibility
Modern scanners handle inverted codes because they detect the finder pattern by contrast ratio, not by specific colours. However:
| Scanner | Inverted Support |
|---|---|
| iOS Camera (14+) | Good |
| Google Lens | Good |
| Most Android cameras | Variable |
| Older dedicated scanners | Often fails |
Some older scanner hardware and software expect dark-on-light exclusively. Always test with your target audience's likely devices.
Design Considerations
Quiet zone: The quiet zone must match the background colour. For an inverted QR code on a dark background, the quiet zone should be the same dark colour — with a light border around the entire code if the surrounding design is also dark.
Contrast: The same contrast rules apply. White on black provides maximum contrast. White on dark blue or dark green works. White on medium grey may fail.
Printing: Inverted codes can be tricky on certain materials. White ink on dark substrates may have lower opacity than dark ink on light substrates, reducing effective contrast.
When to Use Inverted QR Codes
Good scenarios: - Dark-themed packaging or products - Digital screens with dark mode (OLED benefits from white-on-black) - Night-time or low-light environments where a bright white code is more visible - Design aesthetics requiring dark backgrounds
Avoid when: - The audience may use older scanning hardware - You cannot test extensively across devices - The QR code is safety-critical or payment-related
Key Takeaways
- Inverted QR codes are white-on-dark, reversing the standard pattern
- Most modern smartphone cameras handle inverted codes well
- Older scanners may fail — test with target devices
- Maintain strong contrast and proper quiet zones
- Inverted codes work well on OLED screens (dark mode friendly)