Color Converter
Convert between HEX, RGB, and HSL color formats in your browser.
Paste #RGB/#RRGGBB, rgb(), or hsl() and get all three forms.
Supports hex, rgb/rgba, and hsl/hsla inputs.
What does a color converter do?
It normalizes a color into HEX, RGB, and HSL representations.
How to convert colors
- 1
Enter a color
Paste hex (#rgb / #rrggbb), rgb(), or hsl().
- 2
Convert
See hex, RGB, and HSL equivalents.
- 3
Copy
Copy the format you need for CSS or design tools.
Color Converter FAQ
Alpha channels?
rgba/hsla alpha is accepted in parsing but output focuses on opaque hex/rgb/hsl.
Named colors?
Use hex or rgb/hsl values rather than CSS color names.
Uploaded?
No.
Related tools?
CSS Formatter; HTML Formatter.
Related tools
- Unix Timestamp ConverterConvert Unix timestamps and dates in your browser. Nothing is uploaded.
- PNG CompressorCompress PNG images in your browser. Preserve transparency, compare real file sizes, and download the optimized PNG. Nothing is uploaded.
- Developer ToolsFree online developer tools for formatting, validating, converting and encoding data. Nothing is uploaded.