How to use it
- 1
Enter a HEX color with or without #.
- 2
Review the normalized value and preview.
- 3
Copy the RGB or HSL CSS value.
What the tool can do
- Normalizes short HEX to full #RRGGBB.
- Calculates RGB channels and CSS rgb() notation.
- Calculates HSL hue, saturation, and lightness.
Common use cases
- Converting a HEX design token to CSS rgb() or hsl().
- Checking color channels before documenting a UI kit.
- Quickly normalizing short HEX from a design.
How it works inside
HSL is rounded to whole degrees and percentages for practical CSS output.
The calculation runs in the browser and does not require a network request.
Questions and answers
Why is input HEX only?
This keeps the tool deterministic and safe for quick token conversion.
Does this replace the contrast checker?
No. Use the dedicated contrast tool to evaluate an accessible color pair.
