
ImageSizeReducer
@imagesizereducer
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.
A solid rectangle of one color is the simplest possible image, and it solves a surprising number of practical problems.
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
@imagesizereducer

ImageSizeReducer
@imagesizereducer

ImageSizeReducer
@imagesizereducer

ImageSizeReducer
@imagesizereducer

ImageSizeReducer
@imagesizereducer

ImageSizeReducer
@imagesizereducer

ImageSizeReducer
@imagesizereducer
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.
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.
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.
Choose the output dimensions for the destination, and decide whether the file should be filled with the color or generated as an empty canvas.
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.
Four kinds of work where a color needs to exist as a file rather than as a value.
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.
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.
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.
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.
What can be entered, and how the generated file behaves once it exists.
Enter the value in whatever notation it arrived in, set the dimensions the destination needs, and download the swatch.
Generate this colorSmaller files, same picture.