TR ToolRivet

Developer Tools

Color Converter

Convert colors between HEX, RGB and HSL directly in your browser.

Paste any color in HEX, RGB or HSL format and get instant conversions across all three formats, with a live visual preview of the color.

Color Converter

Convert between HEX, RGB and HSL color formats.

Accepts HEX, RGB or HSL

Color preview

Accepted formats

  • #ff5733 or ff5733
  • rgb(255, 87, 51)
  • hsl(11, 100%, 60%)

Output

HEX
-
RGB
-
HSL
-

How to use

  1. 1. Enter a color

    Paste a color value in HEX (#ff5733), RGB (rgb(255, 87, 51)), or HSL (hsl(11, 100%, 60%)) format.

  2. 2. Click Convert

    See the color in all three formats instantly, with a visual preview showing the actual color.

  3. 3. Copy the format you need

    Use the Copy HEX, Copy RGB or Copy HSL buttons to grab the exact format your project requires.

Example

The color #ff5733 converts to rgb(255, 87, 51) and hsl(11, 100%, 60%). All three values represent the same orange-red color.

FAQ

What color formats are supported?

HEX (#RRGGBB or #RGB), RGB (rgb(R, G, B)), and HSL (hsl(H, S%, L%)) are supported in this version.

Is the conversion done locally?

Yes, all color conversions run in your browser. No data is sent to a server.

Can I preview the color?

Yes, the tool shows a visual preview of the converted color so you can immediately see what it looks like.