Generate beautiful random colors, explore harmonies, and build custom palettes. Learn color theory, accessibility, and psychology.
Color is the perception of different wavelengths of light by the human eye. In digital design, colors are represented using various models, each with its own strengths. Understanding these foundations helps you create harmonious, accessible, and emotionally resonant designs.
? The Visible Spectrum – Human eyes perceive wavelengths from ~380nm (violet) to ~700nm (red). Combinations of these wavelengths create the millions of colors we see.
Additive model used in screens. Each channel ranges 0‑255. Combining all gives white.
Subtractive model for printing. Colors are subtracted from white light.
Hue (0‑360°), Saturation (0‑100%), Lightness (0‑100%). Intuitive for designers.
Similar to HSL but Value represents brightness without mixing with white.
Color Spaces define the gamut (range) of colors. Common spaces: sRGB (standard for web), Adobe RGB (wider gamut for print), and ProPhoto RGB (very wide for photography). Monitors can only display a subset of all visible colors.
Colors evoke emotional responses, often influenced by culture and context. Common associations in Western cultures:
Approximately 8% of men and 0.5% of women have some form of color vision deficiency (CVD). The main types:
To ensure accessibility, never rely solely on color to convey information. Use patterns, labels, and sufficient contrast. Our contrast checker below follows WCAG 2.1 guidelines:
The formula for luminance (Y) is defined by the ITU-R BT.709 standard, and contrast ratio = (L1 + 0.05) / (L2 + 0.05).
References:
- "Color Theory for Designers", Interaction Design Foundation.
- WCAG 2.1, W3C.
- MDN Web Docs: CSS <color> values.
- "Color Spaces" by Cambridge in Colour.
There are 16,777,216 possible colors in the 24‑bit RGB space. The human eye can distinguish about 10 million colors.