Colored QR Code Generator
Sign up to save QR Codes and create up to 2 Dynamic QR Codes completely freeThe one rule for color: dark on light
Any color scheme works as long as the squares are clearly darker than the background, and every part of the code keeps that difference, including the corner eyes and both ends of a gradient. Get that right and your code can be purple, green, brown or a blend of two colors.
A QR code doesn't store anything in its colors. When a phone scans it, the camera image is reduced to light and dark, and the decoder reads that.
The scannability meter under the preview measures it for you. It compares each color in the code with the background and reports the weakest pair: above about 7 to 1 is Excellent, above 3 to 1 is Good, above 1.5 to 1 is Poor, and anything lower is Unscannable. Aim for Good or better before you print.
Colors that pass, and colors that don't
These are measured against white with the same formula the meter uses:
- Deep purple #6A1B9A: about 9.6 to 1, Excellent.
- Forest green #1B5E20: about 8.0 to 1, Excellent.
- Grass green #2E7D32: about 5.1 to 1, Good.
- Teal #00897B: about 4.3 to 1, Good.
- Dark orange #EF6C00: about 3.1 to 1, only just Good.
- Orange #FF9800: about 2.1 to 1, Poor.
- Yellow #FFEB3B: about 1.2 to 1, Unscannable.
The pattern is clear: yellows, light oranges, pastels and pale grays are too close to white. For those, swap the roles around and use the light color as the background behind dark squares. Our pages for pink, blue, red and gold codes go into the shades of each color in more detail.
Gradients and two-color codes
Two colors work when both are dark: a gradient, or corner eyes in a second color. The preset blends deep purple into royal blue at a 45-degree angle, with darker purple corner eyes. Gradients are set under the pattern color: choose two or more stops, their positions and a direction.
Because the meter checks every stop, a gradient that fades into a pale color drops the rating straight away. That's exactly the warning you want, since the light end of a gradient is where a camera loses the pattern first. Coloring the eyes differently from the pattern frames the code and draws the eye to it.
Backgrounds and frames
A colored background is fine when it's light: cream, pale mint, blush or ice blue behind dark squares all scan well. A forest green code on pale mint suits a garden center label, and deep purple on cream suits a bookstore flyer.
Dark backgrounds with light squares make an inverted code, which some scanners can't read, so test it carefully if you go that way. The frame around the code is outside the part a scanner reads, so it can carry your brightest brand color and a short call to action.
Color and printing
Printed colors come out a little duller than on screen. Printers mix color from four inks, and some vivid screen colors, especially bright greens, oranges and electric blues, can't be reproduced exactly. That rarely hurts dark colors but can push a borderline one into trouble.
Download the SVG for print, send your printer any brand color values you have, and scan a proof before ordering the full run.
A note on color-coded data
Color doesn't add data to a standard QR code. You may read about multicolor codes that store extra data in each color, but those are research formats, and phone cameras don't read them.
Every code this generator makes is a standard QR code that any phone can scan, whatever colors you choose. If you'd like to edit the link after printing, make it a dynamic QR code, which has the same color options.
Colored QR Code design ideas