What is RGB HSL Color Converter?
RGB HSL Color Converter converts a colour between hex, RGB and HSL, accepting hex codes, rgb(), hsl() or colour names.
How It Works
- Enter a colour in any common format, or pick one in the input fields on this page.
- Press the button to run RGB HSL Color Converter.
- Read the colour as hex, RGB and HSL in the result area, and copy or download it.
Common Uses
- Converting a design colour into the format your CSS needs.
- Finding the HSL values to adjust lightness.
- Turning a named colour into a hex code.
Good to Know
The picker fills the box for you if you do not have a code.
What it converts
Enter a colour as a hex code, rgb(), hsl() or a name such as tomato, or pick one with the colour picker. The tool shows the same colour as HEX, RGB, HSL, HSV and CMYK.
Worked example
tomato becomes #ff6347, rgb(255, 99, 71) and hsl(9, 100%, 64%). HSL is often the easiest format to adjust by hand: change the lightness number to get a lighter or darker version of the same colour.
Notes
Values are rounded to whole numbers, so converting back and forth can differ by a point. The CMYK shown is a simple screen conversion, not a print-profile conversion, so printed colours can look different.
Frequently Asked Questions
Does it accept eight-digit hex?
Yes, such as #aabbccdd, as the page notes.
What is HSL?
Hue, saturation and lightness. Hue is the angle on the colour wheel from 0 to 360.
Is my input stored?
No. It stays in your browser.
What does RGB HSL Color Converter do?
RGB HSL Color Converter converts a colour between hex, RGB and HSL, accepting hex codes, rgb(), hsl() or colour names.
What do I need to enter in RGB HSL Color Converter?
A colour in any common format, or pick one.
Is my data private in RGB HSL Color Converter?
RGB HSL Color Converter runs in your browser, so what you enter is not uploaded to MyToolDock.
Is MyToolDock RGB HSL Color Converter free to use?
Yes, MyToolDock RGB HSL Color Converter is 100% free with no registration, subscriptions, or limits. All features are fully unlocked.
Where can I learn more about RGB HSL Color Converter and related workflows?
MyToolDock publishes written guides on the topic: Hex and RGB: A Guide to Web Color Formats. Each guide links back to the tools it covers.