QR Code Color and Background Generator
Give your QR code any colour and background: solid, transparent or gradient, with square, rounded or dot modules and an optional logo. Our built-in scanner reads every version back and warns you when the contrast is too low.
- 1Link, text, Wi-Fi or contact
- 2Colours
- 3Download
1What the code holds
For a code that opens the phone dialer, use the calling QR code maker.
In Google Forms, press Publish, then copy the responder link. Don't use the address from the form editor: that opens your edit page, not the form.
Note: the password is inside the QR code; anyone who scans it can read it.
Everything you type here is readable by anyone who scans the code.
Scanning opens a WhatsApp chat with this number. The message is only filled in; the person scanning still presses Send.
What a phone will read
2Colours
The three big corner squares stay square, because scanners find the code by them.
3Your QR code
Your file stays in your browser; it is not uploaded. We count visits, finished downloads and a few tool events (tool name and short labels only) with analytics that sets no cookies; with your OK, Google Analytics counts visits and Microsoft Clarity records clicks and scrolls (text and images masked) to help us improve the tools.
Saved settings
Save this tool’s settings on this device and use them again later.
Which QR code colours work?
Phone cameras look for dark squares on a light background. Colour is fine as long as there's a clear gap in brightness between the two, not just a difference in hue. Red on green, for example, can look bold to you and flat to a camera.
- Keep the code darker than the background. Light-on-dark ("inverted") codes are read by some apps and ignored by others.
- Aim for a contrast ratio of 4:1 or more (our rule of thumb, not a QR standard). The ratio under the preview uses the same formula as web accessibility checks (WCAG). Low-contrast codes are more likely to fail in dim light or on glossy print.
- Gradients: both ends of the gradient need to stay dark against the background. The check uses whichever end is weaker.
- Logos: a logo covers part of the code, so use error correction H, which can rebuild up to about 30% of the code. A common rule of thumb is to keep the logo at about 20% of the width or less, and the check below tells you whether your version still reads.
- Transparent backgrounds take on whatever is behind them. Set "It will sit on" to the colour of your design, and the check uses that.
QR code colour combinations we tested
On 27 October 2026 we rendered 38 colour pairs as real QR codes and ran each through jsQR 1.4.0, the decoder inside this tool: at 400, 200, 120 and 80 px wide, then blurred, shrunk and with noise added. A test passes only when the exact text comes back. 12 pairs decoded in all 7 tests, 21 in some, and 5 failed at every clean size. Download the results (CSV).
| Pair | Contrast | Clean sizes decoded | Blurred · shrunk · noise | Verdict |
|---|---|---|---|---|
Black on white#000000 on #ffffff | 21.00:1 | All 4 | Pass · Pass · 3/3 | Decodes in every test |
Dark grey on white#4b5563 on #ffffff | 7.56:1 | All 4 | Pass · Pass · 3/3 | Decodes in every test |
Mid grey on white#9ca3af on #ffffff | 2.54:1 | 3 of 4 (failed 400 px) | Pass · Pass · 0/3 | Decodes in some tests |
Light grey on white#d1d5db on #ffffff | 1.47:1 | None | Fail · Fail · 0/3 | Fails every clean size |
Navy on white#1e3a8a on #ffffff | 10.36:1 | All 4 | Pass · Pass · 2/3 | Decodes in some tests |
Violet on white#5b3df5 on #ffffff | 6.12:1 | All 4 | Pass · Pass · 2/3 | Decodes in some tests |
Dark green on white#166534 on #ffffff | 7.13:1 | All 4 | Pass · Pass · 3/3 | Decodes in every test |
Red on white#dc2626 on #ffffff | 4.83:1 | All 4 | Pass · Pass · 2/3 | Decodes in some tests |
Magenta on white#d946ef on #ffffff | 3.46:1 | All 4 | Pass · Pass · 1/3 | Decodes in some tests |
Coral on white#ff6b4a on #ffffff | 2.82:1 | All 4 | Pass · Pass · 2/3 | Decodes in some tests |
Orange on white#f97316 on #ffffff | 2.80:1 | All 4 | Pass · Pass · 1/3 | Decodes in some tests |
Lime on white#84cc16 on #ffffff | 1.98:1 | 3 of 4 (failed 400 px) | Fail · Fail · 0/3 | Decodes in some tests |
Gold on white#d4af37 on #ffffff | 2.10:1 | 3 of 4 (failed 400 px) | Fail · Fail · 0/3 | Decodes in some tests |
Yellow on white#facc15 on #ffffff | 1.53:1 | None | Fail · Fail · 0/3 | Fails every clean size |
Pastel pink on white#f9a8d4 on #ffffff | 1.81:1 | 2 of 4 (failed 400, 80 px) | Fail · Fail · 0/3 | Decodes in some tests |
Light blue on white#93c5fd on #ffffff | 1.80:1 | 2 of 4 (failed 400, 80 px) | Fail · Fail · 0/3 | Decodes in some tests |
Mint on white#a7f3d0 on #ffffff | 1.28:1 | None | Fail · Fail · 0/3 | Fails every clean size |
Black on yellow#000000 on #facc15 | 13.71:1 | All 4 | Pass · Pass · 3/3 | Decodes in every test |
Black on gold#000000 on #d4af37 | 9.99:1 | All 4 | Pass · Pass · 3/3 | Decodes in every test |
Black on light grey#000000 on #d1d5db | 14.25:1 | All 4 | Pass · Pass · 3/3 | Decodes in every test |
Black on mid grey#000000 on #9ca3af | 8.27:1 | All 4 | Pass · Pass · 2/3 | Decodes in some tests |
Navy on cream#1e3a8a on #fef3c7 | 9.30:1 | All 4 | Pass · Pass · 3/3 | Decodes in every test |
Brown on beige#78350f on #f5f5dc | 8.20:1 | All 4 | Pass · Pass · 3/3 | Decodes in every test |
Dark teal on mint#134e4a on #ccfbf1 | 8.41:1 | All 4 | Pass · Pass · 3/3 | Decodes in every test |
Purple on lavender#5b21b6 on #ede9fe | 7.57:1 | All 4 | Pass · Pass · 3/3 | Decodes in every test |
Dark red on pink#7f1d1d on #fecdd3 | 7.10:1 | All 4 | Pass · Pass · 2/3 | Decodes in some tests |
Grey on grey#6b7280 on #9ca3af | 1.90:1 | 3 of 4 (failed 400 px) | Fail · Fail · 0/3 | Decodes in some tests |
Pink on light blue#f9a8d4 on #bfdbfe | 1.28:1 | None | Fail · Fail · 0/3 | Fails every clean size |
Blue on red#2563eb on #dc2626 | 1.07:1 | None | Fail · Fail · 0/3 | Fails every clean size |
Green on red#16a34a on #dc2626 · read inverted | 1.47:1 | 1 of 4 (failed 400, 200, 120 px) | Fail · Fail · 0/3 | Decodes in some tests |
White on black#ffffff on #000000 · read inverted | 21.00:1 | All 4 | Pass · Pass · 3/3 | Decodes in every test |
White on navy#ffffff on #1e3a8a · read inverted | 10.36:1 | All 4 | Pass · Pass · 3/3 | Decodes in every test |
White on red#ffffff on #dc2626 · read inverted | 4.83:1 | 3 of 4 (failed 200 px) | Fail · Pass · 2/3 | Decodes in some tests |
Yellow on navy#facc15 on #1e3a8a · read inverted | 6.76:1 | 3 of 4 (failed 200 px) | Pass · Pass · 2/3 | Decodes in some tests |
Gold on black#d4af37 on #000000 · read inverted | 9.99:1 | All 4 | Pass · Pass · 2/3 | Decodes in some tests |
Cyan on black#22d3ee on #000000 · read inverted | 11.62:1 | All 4 | Pass · Pass · 1/3 | Decodes in some tests |
Red on black#dc2626 on #000000 · read inverted | 4.35:1 | All 4 | Pass · Pass · 0/3 | Decodes in some tests |
Dark grey on black#374151 on #000000 · read inverted | 2.04:1 | All 4 | Pass · Pass · 0/3 | Decodes in some tests |
- Very low contrast failed. All 5 pairs that failed at every clean size had a contrast ratio of 1.53:1 or less, such as yellow on white and blue on red.
- Dark on light was safest. Every dark-on-light pair at 2.8:1 or more decoded at all four clean sizes.
- Contrast alone didn’t predict the stress tests. The 12 pairs that passed everything had 7.13:1 or more, but some high-contrast pairs still missed a noise pattern, such as navy on white (10.36:1).
- Pale pairs did worse at the biggest size. Several failed at 400 px but decoded at 200 px. We haven’t worked out why; it is one more reason not to trust a single size.
- Light-on-dark codes needed the inverted pass. jsQR read them only when it tried the image inverted, and not every phone app does that.
How we tested: the text https://crispkit.app/qr/qr-code-color/ at error correction M (a version 3 code, 29 × 29 modules plus a 4-module quiet zone), drawn by this page’s QR engine at about 10.8, 5.4, 3.2 and 2.2 pixels per module. Blurred: the 200 px image with a three-pass box blur of radius 1 px. Shrunk: 400 px down to 100 px and back. Noise: the blurred image plus up to ±40 levels per channel, with 3 fixed seeds. Each image was read normally, then inverted. Contrast is the WCAG 2 ratio. Two runs gave identical results. Limits: one decoder, one payload, flat colours only (no gradients or logos), and no print, camera or lighting effects. This is a software test, not a phone test: a pass is a good sign, a fail a strong warning.
What DENSO WAVE says about the margin
DENSO WAVE, which created the QR Code, says a code needs a clear margin four modules wide on every side, where nothing is printed. So if you place a coloured code on a poster or design, keep that area clear in the code’s background colour. Don’t crop it off. Files from this page include that margin.
Source: DENSO WAVE, Point for determining the code area, read 1 Nov 2026.
The 4:1 contrast figure on this page is our own rule of thumb. The DENSO WAVE pages read for this section don’t give a contrast number. The ratio uses the WCAG formula, but WCAG’s own 4.5:1 target is about readable text (W3C, read 1 Nov 2026), not QR codes. DENSO WAVE, whose team developed the QR code (its history page), recommends black on white in its QR Code FAQ, because scanners read the difference in light reflected by the dark and light areas.
See the colour pairs we tested above, or read the guide to QR code colours.
QR code with dots or rounded modules
Module shape changes how the small squares of the code are drawn. Rounded softens only the outer corners, so joined modules stay solid. Dots draws each module as a circle. The big corner squares and the small alignment squares stay square, because scanners use them to find and straighten the code.
The content of the code doesn't change, only its look. We ran 160 test codes in each shape, at all four error-correction levels, through two decoders (jsQR and ZXing) on 31 October 2026, and all were read at 512 px. That was on screen images, not phone cameras, so scan a test print with your own phones before a big run. SVG downloads keep the shape as sharp vector curves.
What the scan check does
After every change, the exact image you'll download is read by a QR decoder (the open-source jsQR). You'll see "Read back" only when it decodes to your text. It's a strong sign, not a guarantee: print quality, size, glare and the phone's camera all matter. Scan a test print with a couple of phones before a big run.
How to make a QR code for a Google Form
- In Google Forms, press Publish, then copy the link for responders. Google's help page says that if a form isn't published, people with the link can't open it (Publish & share your form with responders, read 2 November 2026).
- Open the Google Form start and paste the link. It takes
forms.gleanddocs.google.com/formslinks, and warns you about an editor link. - Choose your colours, check that the box says "Read back by our scanner", and download PNG or SVG.
The code holds your form's link and nothing else, so it keeps opening the same form if you edit the questions. Who can answer is set in the form, not in the code. This page isn't made by Google.
How to make a Wi-Fi QR code in colour
- Press Wi-Fi above and type the network name (SSID) and password exactly as they are on your router, including capital letters.
- Pick the security: WPA / WPA2 / WPA3 for almost every home and office network, WEP only for very old routers, or None for an open network. Tick Hidden network if your router doesn't broadcast its name.
- Choose your colours, check that the box under the preview says "Read back by our scanner", and download PNG or SVG.
The code holds a short text in the Wi-Fi format described on the ZXing project's Barcode Contents page (read 28 October 2026), for example WIFI:T:WPA;S:mynetwork;P:mypass;;. T is the security type, S the network name, P the password, and H:true marks a hidden network. Characters that have a meaning in that format (\ ; , " :) are written with a backslash in front, as the page says, so a password like pa;ss still comes out right. Open "What a phone will read" to see the exact text.
The Wi-Fi password is inside the QR code; anyone who scans it can read it. Only put the code where you'd be happy to show the password itself, and make a new code if you change the password. A guest network is a good choice for a code on a wall.
vCard and WhatsApp QR codes
The vCard start writes a vCard 3.0 contact card (the format in RFC 2426, read 28 October 2026), with commas, semicolons and backslashes escaped as the standard asks. A phone that reads vCards offers to save it as a new contact. WhatsApp writes a https://wa.me/ link with your number in international format and an optional message, the way WhatsApp's help page How to use click to chat describes it (read 28 October 2026). Scanning opens a chat; the person still presses Send. For a code that just calls a number, use the calling QR code maker.
Page last updated .
FAQ
How do I make a QR code for my Wi-Fi?
Press Wi-Fi above the link box, type the network name and password, choose the security type and download. The ZXing page lists this format as read by Android and iOS 11 or later: scanning it offers to join the network without typing the password.
Will the code expire?
No. These are static codes: your text or link is written into the pattern itself, with no redirect through our server. The code works as long as the link it holds works.
Guide: How to make a QR code
Report a problem or suggest a feature