Color Converter
Type a color in any format or use the picker to get HEX, RGB and HSL values.
🔒 Your files and text never leave your device. Everything is processed in your browser.
How to use
- Type a color like #5CC8FF or rgb(92, 200, 255), or use the picker.
- See the color preview and all formats.
- Copy the format you need.
HEX, RGB and HSL
HEX (#1b1f3b) and RGB (27, 31, 59) describe the same thing: the amount of red, green and blue light. HSL describes hue, saturation and lightness, which is easier for making a color lighter, darker or more muted by changing a single value.
Check contrast for readability
Text needs enough contrast with its background. The WCAG guideline asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. Very light grey text on white is a common reason pages are hard to read.
Frequently asked questions
Can I use 3-digit HEX?
Yes. #FA0 is read as #FFAA00.
What is HSL?
Hue, saturation and lightness. It makes it easy to create lighter or darker shades.