Convert colors between different formats: HEX, RGB, HSL, and CMYK.
Different color formats serve different purposes in design and development. Understanding when to use each format helps you work more efficiently across various tools and platforms.
The most common format for web colors. HEX codes represent colors using six hexadecimal digits (0-9, A-F), where pairs represent red, green, and blue values respectively. The "#" prefix indicates it's a HEX color.
Additive color model used in screens and digital displays. Each channel ranges from 0 to 255, representing the intensity of each primary color. When all three are at maximum (255), the result is white; when all are 0, it's black.
A more intuitive model based on how humans perceive color. HSL makes it easier to create color variations by adjusting individual components.
Subtractive color model used in printing. Unlike RGB which adds light, CMYK subtracts light from white paper. The "K" stands for "Key" (black) because it's the key plate in printing.
| Red | #FF0000 | |
| Green | #00FF00 | |
| Blue | #0000FF | |
| Yellow | #FFFF00 | |
| Magenta | #FF00FF | |
| Cyan | #00FFFF |