Frontier Software

Color

The arithmetic of colours

Colour Wheel

Munsell color system

hsl(H, S, L[, A])

H (hue) is an angle (degrees by default if no units are given). Red is 0 or 360, green 120, and blue 240.

0° Red 30° Orange 180° Cyan

S (saturation) ranges from 100% for fully the hue to 0% for gray.

L (lightness) is 50% for “normal”. 100% is black and 0% is white.

A (alpha) can be a number between 0 and 1, or a percentage, where the number 1 corresponds to 100% (full opacity).

Adding Colors

A Nerd’s Guide to Color on the Web