Color Picker (HEX, RGB, HSL)

Pick a color or type any hex code and instantly get its HEX, RGB, and HSL values — with one-click copy, all in your browser.

#4F46E5
HEX
#4F46E5
RGB
rgb(79, 70, 229)
HSL
hsl(243, 75%, 59%)

Runs entirely in your browser. Nothing you enter or upload is sent to a server.

A small color studio

One orange, three ways to write it

A color code is a description, not a different paint. HEX and RGB below describe exactly the same sample; HSL expresses it through hue, saturation, and lightness, rounded by this tool.

A warm accentSample label
Fixed demonstration swatch: #c2410c. This is an example, not a change to your selected color.
The swatch in code
FormatValueHow to read it
HEX#c2410cPairs represent red, green, blue.
RGBrgb(194, 65, 12)Each channel ranges from 0 to 255.
HSLhsl(17, 88%, 40%)Hue angle, saturation %, lightness %.

Try the color in its intended role

A solid accent can work as a filled button, a narrow border, or a small decorative mark. A background covers much more of the page, so inspect it with real text rather than judging an isolated swatch. The same color can feel different beside white, charcoal, or another accent.

Use the picker or enter a three- or six-digit hex value, then copy the format your editor needs. Short HEX doubles each digit: #abc expands to #aabbcc, not #000abc. The leading # is optional. Eight-digit colors with transparency are not accepted here.

The preview chooses black or white text for its own swatch. It does not audit the contrast of your website’s buttons, links, or backgrounds. Check the actual foreground/background pair in a contrast checker before using it for important text.

Keep the source value

HSL is rounded to whole numbers in the output, so converting that rounded value back elsewhere may produce a slightly different RGB color. Keep the HEX value when matching an exact brand specification. This tool represents screen colors; it does not provide CMYK print matching or a color-managed proof.

Colors are converted on your device. Copy the values you need before leaving the page; your palette is not saved here.

Dasigba

Free, fast, privacy-first online tools. Everything runs in your browser.

© 2026 Dasigba