跳到正文

Notice

目前所有功能都可以免费使用。

Translation in progress

This page will be translated soon. Please check back again shortly.

Color Converter

Convert HEX, RGB, and HSL color values and preview the color directly in your browser.

Everything runs locally in your browser. Nothing is sent to the server.

Result

Waiting

Enter a color to begin

The converted formats and preview will appear here.

What it does

This tool converts a color between HEX, RGB, and HSL formats and shows a preview swatch.

How to use it

  1. Enter a HEX, RGB, or HSL color value.
  2. Run the conversion.
  3. Copy or reuse the converted values.

Tips

  • 3-digit and 6-digit HEX values are supported.
  • RGB input must use channel values from 0 to 255.
  • HSL input expects percentages for saturation and lightness.

FAQ

Can I paste RGB values?

Yes. Use the format `rgb(r, g, b)`.

Does it support HSL input too?

Yes. Use the format `hsl(h, s%, l%)`.

Is any data uploaded?

No. The conversion stays in your browser.