Frequently Asked Questions
What formats are shown?
The converter returns HEX, RGB, and HSL values for the selected color.
How do I choose a color?
Use the color picker and click Convert Color to see converted values.
Is conversion done locally?
Yes. All conversion logic runs in your browser.
Example input/output
Input: #1a73e8
Output: RGB: rgb(26, 115, 232) / HSL: hsl(217, 81%, 51%)
How it works
This tool converts colors by parsing the input format and computing the equivalent representations. HEX to RGB converts two-digit hex pairs to 0-255 integers. RGB to HSL normalises RGB values to 0-1 and applies the HSL conversion formula. Processing runs in your browser.
Common use cases
- Convert design tool HEX colours to CSS rgb() values
- Look up the HEX code for a specific HSL colour
- Convert colour values between formats when switching design systems