Guide

Choosing QR code colours and shapes that still scan

Phones are forgiving about style and strict about contrast. You can change almost everything about how a code looks, as long as the dark parts stay clearly darker than the light parts.

The one rule: dark dots on a light background

A scanner looks for a dark pattern on a light surface. Navy, dark green, deep red or charcoal dots on white all scan well. Pale yellow, light grey or pastel dots on white do not, because the camera cannot tell the dots from the background.

The QR code maker shows the contrast ratio between your dot colour and background as you change them, and warns when it drops too low. Treat that warning as a stop sign, not a suggestion. A code that barely scans on your screen will fail on paper under a shop light.

Do not invert the colours

Light dots on a dark background, sometimes called an inverted code, fail on many phones. Some scanners handle it and many do not, and you cannot control which phone your customers have. If your design has a dark background, place the code on a white panel inside it.

Gradients

A gradient across the dots can look good. Keep both ends of the gradient dark. A gradient that runs from dark blue to light blue puts pale dots in one corner, and that corner will not read. The contrast check in the generator measures the lighter end of the gradient for this reason.

Dot and corner shapes

Rounded dots and rounded corner squares scan fine at normal sizes. Fully circular dots leave small gaps between them, which makes very small or very dense codes harder to read. Use round dots on short links printed at a reasonable size, and keep square dots for long content or tiny prints. The generator flags very dense codes with rounded shapes.

The three large corner squares can be a different colour from the dots. Keep them dark too. They are what the camera finds first.

Transparent backgrounds

You can download a code with no background as PNG, SVG or WebP. It then takes the colour of whatever it sits on. That is useful for placing a code on a light textured paper or a pale brand colour, and risky on anything mid-toned or busy. Check the contrast against the final surface, not against the white preview. JPG has no transparency, so a JPG is saved with a white background.

Frames and call-to-action text

A frame around the code with short text, such as "Scan for menu" or "Scan to connect", tells people why they should bother. Frames sit outside the empty margin so they never touch the pattern. Keep the text to a few words, and use the frame colour to carry your brand instead of the dots if you want a brighter accent.

Leave the margin alone

The blank border around the code is part of it. Downloads include it. When you drop the code into a design, do not crop it, and do not let text, photos or a border run up against it.

Test on paper

Print one copy at the final size on the real material and scan it with more than one phone, in normal light and in dim light. Coloured and styled codes are where the difference between screen and print shows up most.

Questions

Common questions

Anything else? Write to us.

Can a QR code be any colour?

The dots can be any colour that is much darker than the background. Dark blue, green, red and charcoal on white all scan well. Pale colours and light-on-dark designs often fail.

Do rounded QR codes scan as well as square ones?

At normal sizes with a short link, yes. For long content or very small prints, square dots are safer because round dots leave gaps that make dense codes harder to read.

Should the QR code match my brand colours?

It can, within the contrast rule. If your brand colour is light, use it for the frame or the background panel and keep the dots dark.

Keep reading

How to create a QR code

How to make a QR code for a link, WiFi, contact card or text, style it without breaking it, test it and print it at the right size. Free, no sign-up.

Read the guide, 6 min

QR code size for printing

What size a printed QR code should be: the minimum size, the distance rule, pixels needed at 300 DPI, and why longer content needs a bigger code.

Read the guide, 5 min

Static vs dynamic QR codes

The difference between static and dynamic QR codes: expiry, editing, scan tracking, cost and privacy, and why a static QR code generator never expires.

Read the guide, 5 min

Why a QR code will not scan

Why a QR code does not scan and how to fix it: low contrast, inverted colors, missing quiet zone, too small, too dense, big logos, glare and broken links.

Read the guide, 6 min

WiFi QR codes that connect first time

How to make a WiFi QR code guests can scan to join your network: getting the name, password and security type right, and fixing codes that do not connect.

Read the guide, 5 min

Adding a logo without breaking the code

How to put a logo in the middle of a QR code and keep it scannable: the error-correction level to use, how big the logo can be, and how to test the result.

Read the guide, 5 min

vCard QR codes for business cards

How to put a contact QR code on a business card: which vCard fields to include, how to format phone numbers, and how small the code can go.

Read the guide, 5 min

Error correction levels explained

What QR code error correction does, what levels L, M, Q and H mean, how much damage each survives, and which level to pick for logos, print and small codes.

Read the guide, 4 min

The quiet zone, and why it matters

What the quiet zone around a QR code is, how wide it should be, and the design mistakes that remove it: cropping, borders, text and busy backgrounds.

Read the guide, 3 min

QR codes for restaurant menus

How to make a QR code menu that works at the table: web page or PDF, table card size, lighting and lamination, and updating the menu without reprinting.

Read the guide, 5 min

QR codes for Airbnb and rental hosts

The QR codes worth printing for a holiday rental: guest WiFi, house manual, check-in and check-out, local tips, and where to place them so they keep working.

Read the guide, 5 min

QR codes on product packaging

How to put a QR code on packaging that still scans: what to link to, minimum size, curved and glossy surfaces, colour contrast and testing a print proof.

Read the guide, 5 min

Make your code now

Free, private, and it never expires.

Open the generator