HEX, RGB and HSL Color Converter

Type a HEX, RGB or HSL value, or pick a color, and get the same color in every format, ready to paste into CSS.


R
G
B

Hue
Sat %
Light %

Understanding Hex, RGB, and HSL Color Models

As a web designer or developer, transitioning between color models is crucial for consistency across CSS, graphics, and UI frameworks. Our Color Converter provides a fast, accurate way to translate the most common digital formats without manual math.

The Differences Between Formats

RGB (Red, Green, Blue)

An additive color model based on the intensity of light channels, scaled from 0 to 255. It is the core language of digital screens.

Hexadecimal (Hex)

A six-digit alphanumeric shorthand for RGB. It is widely used in CSS because of its compact nature. For example, `#FF0000` tells the browser to max out Red (FF) and turn off Green (00) and Blue (00).

HSL (Hue, Saturation, Lightness)

The most intuitive model for humans. Instead of mixing light, you pick a color on a 360-degree wheel (Hue), decide how vibrant it is (Saturation), and how bright it is (Lightness). It's the absolute best model for building dark modes or programmatic color palettes.

Value copied!