UTILS.
100% in-browser
#?

CSS Color Formats

Show one color in every CSS format: hex, rgb(), hsl() and hwb().

Click any value to copy it.

About this tool

Pick a color and instantly see its hex, rgb(), hsl() and hwb() forms, converted entirely in your browser.

Frequently asked questions

How are the formats calculated?
The hex value is converted to RGB, then to HSL and HWB using standard color-space formulas, all in your browser.
How do I copy a value?
Click any of the format tiles and that CSS value is copied to your clipboard.

More tools