Color Converter

Convert between HEX, RGB, HSL and other color formats.

Free online tool. No signup required. All processing runs in your browser.

Converted values will appear here.

About this tool

Enter a color in any supported format to see it in HEX, RGB, HSL, and sometimes CMYK. Useful for design and CSS.

What is Color Converter?

Colors can be expressed as HEX (#ff0000), RGB(255,0,0), HSL(0,100%,50%), and more. A color converter translates between these formats.

How to use Color Converter

  1. Enter or paste a color (HEX, RGB, HSL, etc.).
  2. View the converted values and preview.
  3. Copy the format you need.

Examples

Example input

#ff0000

Example output

RGB(255, 0, 0)  HSL(0, 100%, 50%)

FAQ

Does it support alpha/opacity?
Many converters support HEX with alpha (e.g. #ff000080) and RGBA/HSLA.
Which format for CSS?
HEX and RGB/HSL are all valid in CSS; use what fits your workflow.

Related tools