Color Converter (HEX, RGB, HSL)

Convert color codes between HEX, RGB, RGBA, and HSL with CSS output.

About this tool

Convert design colors seamlessly between HEX, RGB, and HSL formats for web styling.

How to use this tool

  1. Enter any color (e.g., #3b82f6 or rgb(59, 130, 246))
  2. Click Run
  3. Copy converted color codes

How it works

Converts normalized sRGB color space vectors to cylindrical HSL and hexadecimal notations.

When to use this tool

  • Adapting Figma colors into CSS code
  • Creating transparent RGBA color variations

Frequently asked questions

Does it support 8-character HEX with alpha?

Yes, #RRGGBBAA hex formats are fully supported.

Limitations

Calculates within standard sRGB color gamut.

Privacy

No data transmitted.