Color Code Converter — Complete Guide
Last updated: · Artur Aleksander Kozak
Color representation varies considerably depending on the medium. Web designers use HEX codes (#FF6B35) and RGB values, CSS designers prefer HSL for intuitive color relationships, graphic designers working with printers need CMYK percentages, and photographers work with color spaces like sRGB and Adobe RGB. Understanding the math behind color models is essential for anyone working in design, web development, or digital media.
History & Background
Isaac Newton first demonstrated in 1666 that white light is a mixture of all visible colors by splitting it through a prism. He arranged the colors in a wheel — the first color model — to show that mixing opposite colors produces white.
The additive color model (RGB) was developed for light-emitting media: combining red, green, and blue light creates white. The subtractive model (CMYK) is used for printing: combining cyan, magenta, yellow, and black (key) absorbs light to create colors. Albert Munsell created the first systematic perceptual color model in 1905, which influenced modern HSL (Hue, Saturation, Lightness) models designed to be more intuitive than RGB.
Units & Reference Values
| Unit | Equivalent | Common use |
|---|---|---|
| HEX (#RRGGBB) | 16.7 million colors | CSS, web design |
| RGB (0-255, 0-255, 0-255) | 3 channels, 0-255 each | Screen color, programming |
| HSL (hue, sat%, light%) | Hue 0-360°, Sat & Light 0-100% | CSS, intuitive design |
| HSV/HSB | Hue 0-360°, Sat & Value 0-100% | Photoshop, image editing |
| CMYK (%, %, %, %) | 4 channels 0-100% | Print design |
Did you know?
- The human eye can distinguish about 10 million different colors.
- Pure red in HEX is #FF0000, green is #00FF00, blue is #0000FF, white is #FFFFFF, black is #000000.
- CMYK stands for Cyan, Magenta, Yellow, and Key (black). The K avoids confusion with Blue (B in RGB).
- About 8% of men and 0.5% of women have some form of color vision deficiency.
Other Guides
Digital Data Size Converter Image Format Converter PDF Tools Document Converter Audio Format Converter Time Zone Converter
Home · All Guides · About Us · What's new · Contact · Privacy Policy
Language: Italiano · English · Español · Français · Deutsch · Português · 中文 · 日本語