Convert Color Names To Png Online
Convert Color Names To Png online. All processing happens in your browser.
Drop image here or click to upload
Max 50MB • 100% Private
Type a CSS color name like "coral" or "steelblue" and download a PNG swatch of that exact color — no Photoshop, no hex code hunting. Pick your size, hit download, done. And everything runs in your browser. Nothing gets uploaded.
How It Works
You type a recognized CSS color name. The browser's Canvas API resolves that name to its exact RGB value and fills a rectangle at your chosen dimensions. The canvas is then exported as a PNG — a lossless format that keeps the color pixel-perfect with no compression artifacts.
Examples
Brand Style Guide Swatch
Building a quick reference PDF and you need clean color tiles for each brand color.
Color name: "coral"
Size: 200×200px
200×200 PNG file
Solid #FF7F50 fill
Placeholder Background for a Wireframe
Need a quick colored rectangle to drop into Figma or a slide deck. No need to fire up an image editor for this.
Color name: "slategray"
Size: 800×400px
800×400 PNG file
Solid #708090 fill
Testing CSS Named Colors Side by Side
Trying to decide between "darkorange" and "orangered" for a call-to-action button. Generate both PNGs and compare them on screen without writing a single line of CSS.
Color name: "darkorange"
Color name: "orangered"
Size: 300×300px each
Two PNGs:
#FF8C00 (darkorange)
#FF4500 (orangered)
Who Uses This
Generate color swatches for style guides and mood boards without opening Photoshop.
Create solid-color test images for CSS background checks and placeholder assets.
Drop colored rectangles into slides and documents for quick visual references.
Learn the 148 named CSS colors by generating and comparing them as actual image files.
Common Mistakes
"Fuchsia" trips people up — it is not "fuschia." Same with "chartreuse" and "aquamarine." If the output looks wrong or blank, double-check spelling against the official CSS color name list.
CSS color names have no spaces. It's "darkslategray" not "dark slate gray." Write them as one continuous word or the browser won't recognize them.
This tool is built for named colors — "rebeccapurple," "papayawhip," "midnightblue." If you already have a hex code like #FF6347, you don't need a name converter. Use a hex-to-image tool instead.
Technical Details
- Processing: 100% client-side — canvas fillRect + toDataURL
- Browser Support: Chrome, Firefox, Safari, Edge
- Output Format: PNG (lossless, transparent-capable)
- Named Colors Supported: All 148 CSS Level 4 named colors
Frequently Asked Questions
How many named colors exist in CSS?
There are 148 named colors in the CSS Color Level 4 spec. They range from basics like "red" and "blue" to oddities like "lemonchiffon" and "peachpuff." Each name maps to one fixed hex value — no ambiguity.
Can I convert a color name to JPG instead of PNG?
The download here is PNG, which is the better choice for solid colors. JPG uses lossy compression that can introduce artifacts around flat-color edges. If you really need JPG, save the PNG first and run it through any image format converter.
Are CSS color names case-sensitive?
No. "DarkOliveGreen," "darkolivegreen," and "DARKOLIVEGREEN" all resolve to the same color (#556B2F). Browsers don't care about capitalization for named colors.
Does this tool upload my data anywhere?
Nope. The PNG is generated on a canvas element inside your browser tab. Nothing leaves your machine — there's no server call at all. Close the tab and it is gone.
What is the difference between "gray" and "grey" in CSS?
Both spellings work. CSS accepts "gray" and "grey" (plus variants like "darkgray"/"darkgrey") and maps them to the same hex value. Use whichever spelling you prefer — the output PNG will be identical.