Provided by Hesapstan, this HTML color code calculator converts RGB channel values from 0 to 255 into standard HEX, RGB and HSL web color notations.
How to use it
Enter red, green and blue channel values as integers from 0 to 255. The tool shows the same color in HEX, RGB and HSL formats.
Outputs
- HEX uses #RRGGBB notation.
- RGB uses CSS rgb(r, g, b) notation.
- HSL shows hue, saturation and lightness.
Scope
This tool converts color notation; it does not evaluate accessibility contrast, brand palettes or design choices.
Frequently Asked Questions
What range should RGB values use?
Each channel must be an integer from 0 to 255.
Can the HEX output be used in CSS?
Yes. The #RRGGBB HEX code is a valid CSS color value.
What does HSL mean?
HSL stands for hue, saturation and lightness.
📢 Advertisement