2026-09 · Colors and error correction
Colored QR codes and selectable error correction — via the API
api print
2026-09 · Colors and error correction
The free generator on this site has always done colors. Through the API, every code was black on white. That changes now: the four image routes accept three new parameters.
fg — the module color, as a hex value like 1F4E79.bg — the background color, or transparent for an SVG without a
background and a PNG with a real alpha channel.ecc — the error correction: L, M (default), Q or H. If you
print on corrugated board or behind foil, use Q or H.curl "https://qr3.app/v1/codes/r7f3Kx/qr.png?size=10&fg=1F4E79&bg=transparent" -o qr.png
SVG and PNG draw the colors right away. PDF and EPS already accept them but draw them only with one of the next releases; error correction applies to all four formats.
#1F4E79 reads well; a light orange like #ff6600 is already
borderline.H.Nothing. Without the new parameters, every code returns exactly the same bytes in all four formats as before. Invalid values are ignored; the route never answers with an error. Colors and error correction are available on every plan, including Free.
All details are under Colors and error correction.