EIT easy-image-tools / Sort colors into swatches

Sort colors into swatches

Renders the chosen colors as swatches sorted by hue, brightness or saturation.

Nothing found — try another word.

01

Sort colors into swatches

Nothing found — try another word.

Colors
Color list
#ff0000
#ff8800
#ffff00
#00cc44
#0066ff
#8800ff
Output
Width

Nothing found — try another word.

Preview
Source
no source — configure the parameters
Result
no result yet

Sort colors draws your hex values as swatches in a chosen order: by hue for a rainbow sequence, by brightness for a dark-to-light scale, or by saturation for a dull-to-vivid scale. The brightness order uses the standard perceptual weighting, where green counts for most and blue for least, so it matches how bright a color actually looks rather than the average of its channels. There is no source file: the list is sorted in your browser and drawn as swatches.

  • Drawn entirely in your browser: no upload, no server, no signup.
  • Hue, Brightness or Saturation order; grid or strip layout.
  • The colors themselves never change — only the order.
  • Hue order piles grays at one end; switch to Brightness to lay them out.
  • Free with no daily limit, no watermark and no account, also for commercial use.

How to use it

  1. No upload needed - the swatches are drawn from the hex values you type.
  2. Enter the colors to sort in the Color list, as hex values separated by commas or spaces.
  3. Set the Order to Hue, Brightness or Saturation.
  4. Choose a Grid or Strip layout and set the Width of the result.
  5. Download the sorted swatches as PNG, JPG, WebP or BMP from the Download button.

Questions

What is the difference between Hue and Brightness order?

Hue order follows the angle of the color around the wheel, which gives you a rainbow. Brightness order follows perceived luminance, where green counts the most and blue the least, which gives you a light-to-dark scale. Saturation order puts the vivid colors together and the muted ones together.

Why do all my grays end up in the same place?

Hue order sorts on hue angle, and a gray has no hue at all, so every gray in the list reports the same angle and clusters together no matter how light or dark it is. Switch the Order to Brightness to lay grays out properly.

Does the tool change my colors?

No. It reorders the list you entered and draws each value as it is. Every swatch is the exact hex you typed, with no adjustment of brightness, saturation or anything else.

Is it free and does anything get uploaded?

Yes to both - no signup, no upload, no watermark and no daily limit. The swatches are generated in your browser and the project is open source.

Related tools