Overview
This tool is built for cases where one color needs to be checked in several formats without switching tools. It shows the selected color as HEX, RGB and HSL so you can copy the representation that fits your stylesheet, component spec or design note. Use it when you are matching a brand color, preparing a UI handoff or verifying a theme token. The values update together, which makes it easier to compare shades and keep color references consistent across workstreams.
Use cases
- Theme token reviewCheck a token color in HEX, RGB and HSL before adding it to a design system or stylesheet.
- Brand palette alignmentVerify that a brand color stays consistent when it needs to be shared across web, docs and design files.
- Component state stylingInspect a hover, active or focus color and capture the exact format used in the codebase.
How it works
- 1
Choose a color with the picker or enter a HEX value.
- 2
The tool converts the color into matching RGB and HSL values.
- 3
Copy the format you need for CSS, documentation or component styling.
Examples
Primary button blue
Input: #2563EB
Output: HEX #2563EB, RGB 37, 99, 235, HSL 221, 83%, 53%
A vivid interface blue that needs exact values for button styles and token documentation.
Neutral surface shade
Input: rgb(17, 24, 39)
Output: HEX #111827, RGB 17, 24, 39, HSL 220, 39%, 11%
Useful for checking a dark neutral used in cards, overlays or text surfaces.
Soft success green
Input: hsl(142, 72%, 29%)
Output: HEX #14913E, RGB 20, 145, 62, HSL 142, 72%, 29%
Handy when a design file stores the color in HSL but the stylesheet needs HEX or RGB.
FAQ
Can I enter a color in a format other than HEX?
Yes. If the tool accepts the format you paste, it will display the equivalent HEX, RGB and HSL values.
Why do the values change when I move the picker slightly?
Each small movement selects a different shade, so the numeric values change immediately. That is normal and helps you capture the exact color point you need.
What is the difference between RGB and HSL here?
RGB describes the red, green and blue channel mix. HSL shows the same color as hue, saturation and lightness, which can be easier when comparing tints and shades.
Why do my copied values not look identical in another app?
Some apps round channels or interpret alpha and display settings differently. Always compare the actual numeric values, not the preview alone.
