woori.today
Family Sites

HEX RGB Color Converter

Convert color values between HEX, RGB, and HSL.

HEX RGB Color Converter: Input / Result

Input

#ff0000

Result

HEX: #FF0000
RGB: rgb(255, 0, 0)
HSL: hsl(0, 100%, 50%)

How it works

Converts 3- or 6-digit HEX, rgb(), or hsl() input to HEX, RGB, and HSL. HEX output uses six uppercase digits; HSL values are rounded to integers.

A practical use

When a design value uses the wrong notation for a stylesheet, enter it and copy the three equivalent lines.

When something goes wrong

Color names, alpha channels, and 8-digit HEX are unsupported. RGB channels must be 0–255; HSL saturation and lightness must be 0–100%. Check commas, parentheses, and percent signs.

Tool-specific question

Can I enter `red` or `#ff000080`?

No. Named colors and values with alpha are not parsed.

How to use

  1. Enter an input or choose settings; you can start with #ff0000.
  2. Enter code or structured data, then set the format, pattern, or conversion direction.
  3. Run HEX RGB Color Converter, then compare the result with the example RGB(255, 0, 0) before copying or downloading it.

Options

The input area shows the accepted format and available controls for this tool.

Privacy

No. Your input is handled in the browser you are using. Privacy

Related tools