Color Converter

Enter a color in hex, RGB, or HSL and see it instantly in every other format. Click any value to copy it.

Color format reference

HEX

A six-digit base-16 code (#RRGGBB), the most common way to write a color in CSS and design tools.

RGB

Red, green, and blue light values from 0-255 each, how screens actually mix color.

HSL

Hue (0-360°), saturation, and lightness as percentages, closer to how people describe color by eye.

HWB

Hue plus whiteness and blackness percentages, a newer CSS Color 4 model built for quick tint/shade tweaks.

OKLCH

Perceptually uniform lightness, chroma, and hue, the model modern CSS and design tools are moving toward for predictable color math.

CMYK

Cyan, magenta, yellow, and key (black) as percentages, the subtractive model used for print.