Image Size Reducer
Color name tool

Convert Color Names to PNG

Turn a written color into an actual image file. Names, hex codes, and functional notations are all accepted, and the result is a flat PNG at whatever size the destination needs.

  • CSS names, hex codes, and RGB values
  • Square or custom dimensions
  • Solid or transparent background
  • Preview before downloading
  • Nothing uploaded, nothing installed
Open the color tool

What a Flat Color File Is For

A solid rectangle of one color is the simplest possible image, and it solves a surprising number of practical problems.

Most images carry detail. A swatch does not, and that is what makes it useful. A one-color file can act as a design token that non-designers can open, a placeholder that fills a slot in a template, a background panel for a section of an email, or a printable reference for a palette that has been signed off in a meeting. What makes it awkward is that color lives in notation. A name like coral, a code like a six digit hexadecimal value, and a functional form listing three channels separately all describe the same thing, and none of them is a picture. To convert color names to PNG is to close that gap: the notation is read, the color is resolved, and the result is a file that can be placed anywhere an image is expected, which is often the only way to get a color onto a surface that refuses to accept a value.

What the Color Tool Accepts

Three ways of writing a color, one control for the dimensions when you convert color names to PNG, and a choice about whether the file should be filled or empty.

Names, codes, and channel values

A CSS name, a hexadecimal code, or a functional notation listing three channels are all read directly, with no conversion needed first.

Dimensions set freely

The output can be a tiny sample or a large panel, which covers both the reference sheet case and the placeholder case with one tool.

Filled or left empty

The swatch can carry a solid fill or be generated as an empty canvas, which matters when the file will be printed rather than displayed.

Seen before it is saved

The color appears on the canvas as it is entered, which catches a mistyped code before it becomes a file somebody else relies on.

Generated on the device

The image is created in the page from the value supplied, so nothing is sent anywhere and the result is available immediately.

ImageSizeReducer

ImageSizeReducer

@imagesizereducer

A palette that has to be delivered as images

Design reviews, brand documents, and client handovers frequently need colors in a form that survives being pasted into a tool with no understanding of color at all. A list of six codes in a text document is precise and almost useless for that purpose. The usual workaround is a screenshot of a palette from a design tool, which introduces compression artifacts, inconsistent sizes, and the designer's interface around the edges. To get exact colors at exact dimensions, with nothing else in the frame, convert color names to PNG directly.
Generate this color
Palette of exact color swatches generated as individual files
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

A CSS color name turned into something visible

The named colors in CSS are memorable and occasionally surprising. Skyblue, tomato, and gainsboro are all easier to recall than their code equivalents, and far harder to picture accurately. Generating the swatch turns a name into a reference that can be checked in one glance. It is the fastest way to settle an argument about what a color called lavender actually looks like, and it removes the habit of assuming that the name means what intuition suggests.
Generate this color
Named CSS colors shown as swatches beside their written names
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

The swatch that goes into a design document

Documents and slide decks handle images comfortably and color values badly. A swatch image drops straight into a shape, a table cell, or a bullet, and it keeps its exact value instead of being converted by whatever color space the document happens to use. Keeping every swatch at one dimension is what makes a set of them look deliberate. Generating them at a consistent size is easier than cropping screenshots to match, which is how most ad hoc palettes end up with six slightly different rectangles.
Generate this color
Color swatches placed into a document at a consistent size
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Names, codes, and functional notations all work

A name is the friendliest input and the least precise vocabulary, since the named palette is a fixed list. A hexadecimal code is the most common way to specify a color exactly, and a functional notation listing three channels is how most interfaces store one internally. All three describe the same thing and all three are accepted here, so there is no need to translate between them first. Pasting a value out of a stylesheet and generating an image from it directly is the usual working pattern, and it removes a step where a transcription error would otherwise creep in.
Generate this color
The same color entered as a name, a hex code, and an RGB value
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Size matters more than the notation does

A one pixel square is a color sample rather than a picture, and a two thousand pixel square is a panel. Both are legitimate, and they are used for different things. Small swatches are for reference sheets, where the file exists only to carry the color and the size is irrelevant. Large ones are for backgrounds, banners, and placeholder fills, where the file takes the place of a design that has not been produced yet. Choosing the dimensions first is worth doing, because a swatch generated at the wrong size tends to get stretched and lose its crisp edges.
Generate this color
The same color generated as a tiny sample and as a full panel
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Solid or transparent, and why the choice is not obvious

A flat color file would seem to have no use for transparency, and there are two cases where it does. The first is a color reference that will be composited over something: an empty fill is a clean way to mark a slot that will be tinted later. The second is more practical. Where the swatch is being used as a color sample inside a document that may be printed on colored paper, a solid fill is the correct choice and a transparent one would print as nothing at all. Deciding which situation applies when you convert color names to PNG is the difference between a file that works and one that disappears.
Generate this color
Solid and transparent swatches shown over light and dark surfaces
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

A placeholder that reads as a placeholder

Filling a slot with a flat color during development is clearer than leaving it empty, because it shows the intended area rather than an absence. It also prevents the layout from collapsing when the real asset has not arrived. Generating a panel in a deliberately unlikely color is a small but effective habit. Anything obviously provisional gets replaced before launch, while a neutral gray placeholder has a way of surviving into production because it looks plausible enough to overlook.
Generate this color
Placeholder panel marking an area before the real image arrives
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Where a swatch is the wrong answer

A flat file carries no information beyond its color, which means it cannot be searched, sorted, or edited by changing a value. A palette maintained as six generated images is far harder to update than a palette maintained as six lines in a stylesheet. That makes the generated swatch a delivery format rather than a source of truth. It belongs at the end of the process, when a color has been agreed and needs to exist as something people can open, and never at the start where the value itself is still being decided.
Generate this color
Generated swatches delivered alongside the single source of the palette

How to Generate a Swatch

Four steps, and the third is worth a moment of thought, since the dimensions are what decide whether a file is a reference sample or a usable panel.

Step 1

Enter the color

Type a name, paste a hex code, or supply channel values. All three notations are understood, so there is no need to rewrite the value in a particular shape.

Step 2

Check the preview

The canvas fills with the resolved color, which is the moment a transcription error or a name that does not mean what you expected becomes obvious.

Step 3

Set the size and the background

Choose the output dimensions for the destination, and decide whether the file should be filled with the color or generated as an empty canvas.

Step 4

Download the PNG

Save the file. It is a plain image with no metadata to strip and no compression decision to make, ready to drop into a document or a layout.

Who Generates Swatches

Four kinds of work where a color needs to exist as a file rather than as a value.

BD

Brand designers

palettes delivered to clients and agencies

A palette document is judged by how it looks, and a list of codes does not look like anything. Swatches at one consistent size make the intent visible without anyone needing to open a design tool.

ED

Email developers

background panels for templates with limited support

Some clients ignore background color properties entirely, and an image is the only reliable way to get a tinted panel into a message. Generating it at the exact dimensions of the section is simpler than exporting it.

FD

Front-end developers

placeholder fills during a build

A deliberately unlikely color makes unfinished areas impossible to miss in review. It takes seconds to generate and it stops a placeholder from surviving all the way into production.

TE

Teachers

color exercises and reference sheets

Explaining how a name, a code, and a set of channel values describe the same color is easier with a swatch beside each one. Students can open the files without particular software.

Frequently Asked Questions

What can be entered, and how the generated file behaves once it exists.

From a written color to a file you can place

Enter the value in whatever notation it arrived in, set the dimensions the destination needs, and download the swatch.

Generate this color
A Delivery Format

Colors belong in text, and they sometimes need to be images

Keeping a palette as a set of generated files makes it impossible to update and difficult to search, which is why the values belong somewhere they can be changed in one place. The swatch exists for the moments when a color has to travel into a document, a template, or a conversation that only understands pictures. Generating one on demand keeps that delivery exact, and it is a much better habit than cropping a screenshot and hoping the compression left the color alone.

Smaller files, same picture.