UtilityBase logoUtilityBase

2 min read

Color Models Explained: HEX, RGB, HSL, and CMYK

Understand the difference between HEX, RGB, HSL, HSV, and CMYK color models and when to use each.

RGB and HEX: Colors for Screens

Screens make color by mixing red, green, and blue light, which is what RGB describes — three values from 0 to 255. Pure red is rgb(255, 0, 0); mixing all three at full gives white. It's an additive model, because adding light moves toward white.

HEX is just RGB written in base 16 for the web: #FF0000 is the same pure red, where the pairs FF, 00, 00 are the red, green, and blue values in hexadecimal. HEX and RGB are interchangeable ways of naming the same screen color.

HSL and HSV: Colors for Picking

HSL and HSV describe color the way people think about it. Both start with hue — the position on the color wheel from 0 to 360 degrees — then add saturation for how vivid the color is. HSL's third value is lightness; HSV's (also called HSB) is value or brightness.

These models make adjusting a color intuitive: keep the hue and dial saturation down for a muted version, or change lightness for a tint or shade. That's why color pickers so often use them.

CMYK: Colors for Print

Print works the opposite way from screens. Instead of adding light, ink subtracts it from white paper, so print uses cyan, magenta, yellow, and black — CMYK, where K is the key black. Layering inks moves toward black, making it a subtractive model.

This is why a design can look different printed than on screen: not every bright RGB color can be reproduced with ink. Converting to CMYK gives a mathematical equivalent, but the true printed result also depends on the printer, paper, and color profile.

Frequently asked questions

What's the difference between RGB and CMYK?

RGB is additive and made for screens, mixing red, green, and blue light toward white. CMYK is subtractive and made for print, layering cyan, magenta, yellow, and black ink toward black. Screens use RGB; printing uses CMYK.

Is HEX the same as RGB?

Yes, they name the same screen color. HEX is RGB written in hexadecimal — #FF8800 is rgb(255, 136, 0). Web code often uses HEX, while image editors show RGB values.

Why does my color look different when printed?

Screens emit light (RGB) and printers use ink (CMYK), and ink can't reproduce every bright screen color. Converting to CMYK and checking a proof helps, but the exact result depends on the printer and paper.

Tools mentioned in this guide

Keep reading