All tools Developer

Color Converter

Convert colors between HEX, RGB, HSL and HSV, with tints and shades.

HEX #FF4D00
RGB
HSL
HSV

Click any swatch to use it as the current color.

Runs in your browser. Nothing you open or type here is uploaded.

How to use

  1. Enter a hex code, or pick a color with the color picker.
  2. Read the converted values in HEX, RGB, HSL and HSV.
  3. Browse the tints and shades below the preview.
  4. Click any swatch to load that color, or copy the value you need.

Details

The tool converts one color between the four notations used in web work. HEX and RGB describe the red, green and blue channels; HSL and HSV describe the same color by hue, saturation and lightness or value, which is the form that is easier to adjust by hand. Conversions use the standard formulas and are rounded to whole numbers. Below the current color, two scales mix it toward pure white and pure black in 20% steps, giving four tints and four shades.

  • HSL lightness of 50% is the fully saturated form of a hue; HSV value of 100% is the brightest form. The two scales are not interchangeable.
  • Short hex codes expand by doubling each digit: #F40 means #FF4400.

Common questions

Are the conversions exact?

Yes. RGB values are computed directly from the hex code, and HSL/HSV are derived with standard formulas, rounded to whole numbers.

How are tints and shades made?

Each swatch mixes the current color toward pure white (tints) or pure black (shades) at 20, 40, 60, and 80 percent.

Does it upload my colors anywhere?

No. Everything runs in your browser — there are zero network requests.