Generators & Utilities

Color Picker & Converter

Pick a color visually or type a value in any format — HEX, RGB, or HSL — and see all three update live. The tool also generates the complementary color and a set of lighter and darker shades, each copyable with a click. It is a fast, everything-in-one-place utility for designers, developers, and anyone building a palette, and it runs entirely in your browser.

Shades & harmonies (click any swatch to copy its HEX)

Runs entirely in your browser. Type into any field — HEX, RGB, or HSL — and the others update live.

Three ways to describe a color

The same on-screen color can be written three common ways. HEX (like #3b82f6) is a six-digit hexadecimal shorthand for red, green, and blue, and it is what you paste into most CSS and design tools. RGB spells out those same three channels as numbers from 0 to 255, which is handy when you need to tweak one channel precisely. HSL — hue, saturation, lightness — describes color the way humans think about it, which makes it the easiest format for creating variations. This tool converts between all three instantly and in both directions, so you can work in whichever format fits the moment.

How the conversions work

HEX and RGB are two notations for the same numbers, so converting between them is a straightforward base change. HSL is a genuine transformation of the color space: the tool computes hue from which channel dominates, saturation from the spread between the brightest and darkest channels, and lightness from their midpoint. Editing any field triggers the conversion and updates the others, the preview swatch, and the generated shades, all without a round trip to any server.

Complementary colors and shades

Good palettes are built on relationships, and the fastest way to find them is to move around the HSL color wheel. The complementary color sits directly opposite your base — 180 degrees around the hue wheel — and provides high-contrast accents for buttons and highlights. The lighter and darker shades keep the same hue and saturation while adjusting lightness, which is exactly how you build the tints and shades for hover states, backgrounds, borders, and disabled elements. Click any swatch to copy its HEX code straight into your stylesheet.

Practical uses

Developers use this to grab the exact HEX of a color they see, convert a designer's RGB spec to HSL to derive a hover shade, or check that two colors are the same across formats. Designers use it to rough out a palette before opening heavier software. It is equally useful for spreadsheets, presentations, game assets, or picking a brand color — anywhere you need a precise, portable color value.

Privacy notes

All color math happens in your browser. Nothing you pick or type is uploaded, stored, or logged. That means the tool works offline once loaded and keeps any brand or client colors you are experimenting with entirely private to your device.

FAQ

What is the difference between HEX, RGB, and HSL?

They describe the same color differently. HEX and RGB both specify red, green, and blue channels, while HSL uses hue, saturation, and lightness, which is more intuitive for making a color lighter, darker, or shifting its tone.

Can I type a value instead of using the picker?

Yes. Type into the HEX, RGB, or HSL field and the other formats, the preview, and the shades all update live. Conversion works in both directions.

What is a complementary color?

It is the color directly opposite yours on the hue wheel, 180 degrees away. Complementary pairs create strong contrast and are useful for accent and call-to-action colors.

How do I copy a color?

Click any swatch in the shades section to copy its HEX code to your clipboard, or copy directly from the HEX, RGB, or HSL text fields.

Does this work offline?

Yes. All conversions run in your browser with no network calls, so once the page has loaded it keeps working offline and never sends your colors anywhere.

More free tools