🎨 Color Converter
Convert a color between HEX, RGB and HSL and preview it.
About this tool and how to use it
Convert a color between HEX, RGB and HSL and preview it.
Enter a color as HEX or RGB to get all three formats and a preview.
This tool runs entirely in your browser, so your input is not sent to any server.
Frequently asked questions
How do I enter a color?
Type HEX like #2447d4 or three RGB numbers separated by commas.
What is the difference between HEX, RGB and HSL?
HEX writes red, green and blue as a six-digit code. RGB gives the same values as three numbers from 0 to 255. HSL describes a color by hue, saturation and lightness.
Which format should I use in CSS?
All three work in CSS. HEX is the most common, and HSL is easier to adjust when you want a lighter or darker shade.
GetToolNests