The Purpose

This shows the 140 X11-web colors, sorted by hue. The premise is that these colors seem to be pleasing. This may help me choose better color schemes.

All these colors can be used in an HTML or CSS document by referring to their color names instead of the hex triplets (for example, "FireBrick" instead of "#B22222"). There are 600 other X11 color names, but they don't all work on web as HTML and CSS colors unless you specify the individual rgb components, so I don't display them here.

Update

My first approach was to rewrite the file and calculate the HSV numbers in PHP beforehand. But then I switched it to do everything in JavaScript. It's useful to have routines like RGB-to-HSV conversion in your personal library.

After adding HSV, it was easy to add CMYK as well, just because I can.

Named Web Color Swatches

(Click a swatch to get more information) ?

This shows the 140 X11-web colors, sorted by hue. The premise is that these colors seem to be pleasing.

All these colors can be used in an HTML or CSS document by referring to their color names instead of the hex triplets (for example, "FireBrick" instead of "#B22222"). There are 600 other X11 color names, but they don't all work on web as HTML and CSS colors unless you specify the individual rgb components, so I don't display them here.

This project is mostly for my own benefit, so I can choose better color schemes.

Click anywhere in this box to close it.



RGB
CMYK
Hue
Saturation
ValueClose