We are experiencing higher levels of website traffic, we are trying to expand. Thank you for your understanding.

HTML Color Codes

An interactive color picker and converter: enter a HEX, RGB, or HSL value and instantly see all three representations. Also includes a curated palette of popular web-safe and brand colors to quickly copy. Click any swatch to load it into the converter. Complements the CSS Named Colors tool with custom input support.

Ctrl+Enter to run  ·  Ctrl+K to switch tools  ·  Recent button shows input history

Let AI do the hard part. Fix broken HTML, convert to email-safe HTML, or clean up any markup in one click — 3 free AI runs per day, no account needed.

Try the AI HTML Fixer

FAQ

What is the difference between HEX and RGB?

HEX is a base-16 representation of the same RGB values (e.g. #FF8800 = rgb(255,136,0)). They are interchangeable — most CSS tools accept both.

What is HSL?

HSL (Hue-Saturation-Lightness) is a human-friendly color model. Hue is 0–360° on the color wheel, Saturation 0–100% (gray to full color), and Lightness 0–100% (black to white).

Does this work for CSS variables?

This tool gives you the raw color values. To use them as CSS variables, declare them as --my-color: #FF8800 in your :root block.