Back to Free Tools

FREE TOOLS

Color List Sorter

Sort opaque color lines by hue, HSL saturation/lightness or relative luminance with stable ties.

LF/CRLF-separated opaque concrete color lines

sorted-colors.txt, color-sort.json

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Enter the admitted input using Opaque color lines, Sort by, Order.
  • Use the explicit mode and declared finite options. Only selected operation fields participate.
  • Select Sort colors and download sorted-colors.txt, color-sort.json.

Examples

Hue ascending orders red,green,blue before achromatic gray; equal metrics keep original source order.

Limitations

  • 1–1,000 colors,300 units per original line,301,000 total units and300 KiB input. At most20,000 counted comparisons;1 MiB combined outputs and30-second processing limit.
  • Blank trimmed lines are ignored. No perceptual grouping, names, variables, arbitrary CSS syntax or transparent colors. Exact HSL fractions and finite binary64 relative luminance are labeled separately.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool