Color Code Converter
Convert colors between HEX, RGB and HSL with a live preview.
Result
rgb(212, 0, 0)
How it works
HEX and RGB map directly; HSL converts through the RGB color cube. Out-of-range values are clamped (RGB 0–255, S/L 0–100%, hue wraps at 360°).
Questions
- How does the color code converter work?
- HEX and RGB map directly; HSL converts through the RGB color cube. Out-of-range values are clamped (RGB 0–255, S/L 0–100%, hue wraps at 360°).
- Is my input sent to a server?
- No. Conversion happens in your browser.
Related tools
- Data Storage ConverterConvert bytes, kilobytes, megabytes, gigabytes and binary units like MiB and GiB.
- Data Transfer Rate ConverterConvert internet and network speeds — Mbps, Gbps, MB/s, MiB/s and more.
- Typography ConverterConvert CSS and print type sizes — pixels, points, picas, em and rem.
- Password GeneratorGenerate strong random passwords in your browser — nothing is stored or sent anywhere.
- Image Resize & Aspect Ratio CalculatorScale an image's width or height while keeping its aspect ratio, and find the ratio (like 16:9) of any size.
- Pixels Per Inch (PPI) CalculatorFind a screen's pixel density (PPI) and dot pitch from its resolution and diagonal size.
Want this on your site? Embed the color code converter.