Color Picker and Converter

Pick an opaque color or enter bare HEX, RGB or HSL, then copy its converted formats.

On-device No sign-up Free to use

Convert color controls

Choose a color source
?

For example #3866A8, rgb(56, 102, 168), or hsl(215, 50%, 44%). Only the selected source is converted.

Processed in your browser. Your inputs stay on this device.

Showing an example. Edit to see your own.

Result

Showing an example.

Convert the selected blue to equivalent HEX, RGB and rounded HSL values.

#3866A8 is rgb(56, 102, 168) and hsl(215.4, 50%, 43.9%).

Loading the tool. Your result will appear here.

https://usefreetools.net/color-picker · 20 November 2026

Was this helpful?

How to use Color Picker and Converter

  1. Choose Color picker or Typed value as the source.
  2. Use the native color control, or type a HEX, RGB or HSL value in the text field.
  3. Read the updated swatch and HEX, RGB and HSL values below the fields. Copy the color notation your project uses.

Example: Color Picker and Converter

Convert the selected blue to equivalent HEX, RGB and rounded HSL values.

You add
Choose a color source: picker; Pick a color: #3866A8; Or type HEX, RGB or HSL: #3866A8
You get
#3866A8 is rgb(56, 102, 168) and hsl(215.4, 50%, 43.9%).

Options

Color source
The picker opens your browser’s color control. Choose Typed value to convert a value from CSS or a design file. Only the selected source is used; the other field keeps its own value.
Typed formats
Enter three- or six-digit HEX with or without #, rgb(56, 102, 168) or rgb(56 102 168), or hsl(215, 50%, 44%). RGB channels must be whole numbers from 0 to 255. HSL uses a hue from 0 to 360 and percentages from 0 to 100. Alpha channels, named colors and CSS variables are unsupported.

Supported inputs and limits

  • This tool handles opaque sRGB colors only.
  • HEX accepts three or six digits;
  • RGB accepts whole channels from 0 to 255;
  • HSL accepts hue from 0 to 360 and saturation and lightness from 0 to 100 percent.
  • Converting through eight-bit RGB can round an HSL value slightly.
More details

The swatch shows the converted color, not a guarantee that text on it has enough contrast.

Bare three or six-digit HEX and space-separated RGB channels are accepted.

Alpha, CMYK, HSV, OKLCH, image sampling and EyeDropper are not provided.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

One color, three useful notations

HEX writes each red, green and blue channel as two hexadecimal digits. RGB writes the same channels as decimal numbers. HSL describes hue, saturation and lightness, which can be easier to adjust by hand. All three results on this page describe the same rounded sRGB color. The values are ready to copy into CSS, but check them in the design where they will be used, especially when text sits on top of a background.

Questions about Color Picker and Converter

Can I type RGB or HSL instead of using the picker?

Yes. Switch the source to Typed value and enter a value such as rgb(56, 102, 168) or hsl(215, 50%, 44%). The picker and typed field stay separate, and only the source you select is converted.

Why is the converted HSL value not identical to my input?

The result is based on whole red, green and blue channels. An HSL input can fall between those channel values, so it is rounded to the nearest eight-bit color before the tool prints HSL again.

Does this tell me whether my text is readable?

No. A color by itself has no text contrast score. Put your text and background colors into Contrast Checker to see the ratio and the WCAG text thresholds.

Page updated · Project managed by Tony Hines · Report a problem with Color Picker and Converter