Color Picker — Pick Any Color, Get Its Hex Code

Pick a color from the spectrum, sample one straight off your screen with the eyedropper, or paste a hex code you already have. The picker shows the color's hex, RGB, and HSL values instantly, each with one-click copy — and hands the color off to the tint & shade generator when you're ready to build a palette from it.

Pick a color

Click the swatch to open the spectrum, use the eyedropper to sample your screen, or paste a hex code.

Hex #3498DB
RGB rgb(52, 152, 219)
HSL hsl(204, 70%, 53%)

How to Use This Color Picker

There are three ways in, depending on where your color is coming from:

Whichever way you pick, the three readouts stay in sync: hex for CSS and design tools, RGB for code that works with channels, and HSL when you want to reason about hue and lightness. Every value is one click to copy. Nothing leaves your browser — the picker runs entirely client-side.

Pick a Color from Your Screen (Eyedropper)

The eyedropper uses the browser's EyeDropper API: click the button, and your cursor becomes a magnified loupe that samples whatever pixel you click — anywhere on your screen, not just this page. It's the fastest way to answer "what exact color is that?" about a logo, a photo, or any design you're looking at.

BrowserScreen eyedropperNotes
Chrome, Edge, Opera, BraveSupportedDesktop Chromium 95+
SafariNot yetNo EyeDropper API support
FirefoxNot yetPosition: positive; not shipped

On Safari or Firefox the button hides itself rather than failing. The practical fallback: take a screenshot, open it beside this page, and match the color with the spectrum picker — or use your OS's built-in sampler (Digital Color Meter on macOS, PowerToys Color Picker on Windows) and paste the hex it reports.

From One Picked Color to a Full Palette

Picking the color is usually step one, not the goal. Once you have your hex code, the rest of the HexTints toolkit takes over:

Accessibility check before you commit: if the picked color will carry text, it needs WCAG contrast of 4.5:1 against its background (3:1 for large text). Library pages like #3498DB's show these ratios precomputed — and if your color falls short, its darker shades usually pass. More in our color contrast guide.

Hex, RGB, and HSL — Which Format When

All three describe the same color; they differ in what they make easy:

Need conversions beyond what the readouts show — or want to understand the math behind them? Our hex to RGB converter does two-way conversion with a worked example.

Frequently Asked Questions

Got your color? Take it further: generate its tints and shades, build a monochromatic palette around it, or convert it between formats.