Color conversion through sRGB
The converter uses sRGB as an intermediate representation. Out-of-gamut LCH values can be clipped, and displayed channels are rounded for readability.
Preparing your comprehensive developer toolkit
Practical Guide
Convert HEX, RGB, HSL, HWB, LCH, CMYK and CSS color names. Preview transparency and copy individual values as you edit.
Color encodings describe the same color using different channels. HEX packs RGB into hexadecimal digits, while HSL describes hue, saturation and lightness.
The converter uses sRGB as an intermediate representation. Out-of-gamut LCH values can be clipped, and displayed channels are rounded for readability.
The picker and all numeric outputs update from the same color. Incomplete input stays editable and cannot be copied while invalid.
Turn a translucent overlay from a mockup into a CSS-ready HEX or RGB value for a component stylesheet.
Only the keyword transparent represents transparency. For other colors, the closest name describes the RGB channels, so use HEX or an RGB function when alpha matters.
The CMYK value is an approximation derived from sRGB. Print production requires the color profile and proofing process specified by your printer.
Specification for CSS color syntax and color models.
Examples of CSS color notation and alpha channels.
Open the tool to try these features.