Guides / Design

Inverted QR codes: do white-on-black codes work?

Most modern phone cameras read light-on-dark QR codes. Some scanner apps, older phones and retail barcode scanners don't. Use them for style on screens and posters, not where every scan counts.

2 min readDesign
On this page What inverted means Who can read them Making them reliable Questions
In short
  • iPhone and most Android cameras read inverted codes.
  • Some apps and point-of-sale scanners don't.
  • Keep contrast very high, and test on several phones.

What inverted means

A normal QR code has dark modules on a light background. An inverted code flips that: light modules on a dark background. It suits dark websites, nightlife posters and dark packaging.

Inverted codes look striking, but not every scanner can read them. Labels describe printed, real-world scanning; a clean screen is much more forgiving.

Who can read them

Load the Neon preset to try an inverted design that passes the scan test.

Try the neon preset

Making them reliable

  1. Use very high contrast: near-white on near-black.
  2. Keep the quiet zone dark and clean, the same color as the background.
  3. Use simple dot shapes and error correction Q or H.
  4. Test on an iPhone, an Android phone and one scanner app.

If the code has to work for everyone, such as on packaging, tickets or payments, use dark on light instead. See QR codes for packaging.

Questions

Do white on black QR codes work?

On most modern phone cameras, yes. Some scanner apps and retail scanners can't read them.

Should packaging use an inverted QR code?

It's safer not to. Use dark dots on a light background so every scanner can read it.