Skip to main content
7BBusyBoss

Color Picker — HEX, RGB, HSL Converter

Pick and copy colors in HEX, RGB, HSL, and CSS variable formats. Includes RGB sliders and a native color input—no eyedropper.

No limitsZero data leaksSuper fast

HEX

#3B82F6

RGB

rgb(59, 130, 246)

HSL

hsl(217, 91%, 60%)

CSS Variable

--color: #3B82F6;

You're on 7BusyBoss — 300+ free tools that run instantly in your browser. No signup, nothing uploaded.

Browse all Color Tools
About this tool

The colour you picked is not necessarily the colour anyone else sees

A hex value is a set of instructions to a display, not an absolute colour. The same value renders differently across monitors depending on the panel, its calibration and its colour profile — and a phone at full brightness outdoors shows something different again from a laptop in a dim room.

Picking a colour that looks right on your screen is picking a colour that looks right on your screen. That is worth internalising before committing a value to a brand or a design system.

What follows practically

  • Check on more than one device before committing. A colour chosen on a single calibrated monitor is a colour chosen for one viewer.
  • Be sceptical of subtle distinctions. A pair of near-identical greys you can separate on a good panel may be indistinguishable on a cheap one — and the design that depends on telling them apart will simply fail there.
  • Remember ambient light. It shifts perception more than most people expect, which is why a palette chosen at night can look wrong the next morning.

Contrast can be measured; appearance cannot

This is the useful consequence of everything above. Because rendering varies, "these look different enough" is not a judgement you can rely on. Contrast is computed from luminance and has a defined threshold, which makes it the one property you can verify rather than eyeball — check pairs with the colour contrast checker instead of trusting your eye.

The related rule: colour should never be the only carrier of meaning. A red-versus-green status dot conveys nothing to a reader with colour vision deficiency, and nothing at all in a greyscale printout. Pair it with a shape, a label or an icon so the information survives when the colour does not.

What this tool outputs

Four formats, each with its own copy button:

FormatExample
HEX#3B82F6
RGBrgb(59, 130, 246)
HSLhsl(217, 91%, 60%)
CSS variable--color: #3B82F6;

Selection uses the browser's native colour input, with number fields for precise RGB values clamped to 0–255. Note that HSL values are rounded to whole numbers, so a round trip through HSL and back can land a step away from where it started.

There is no eyedropper — it cannot sample a pixel from your screen or from an image. For the arithmetic of moving between formats, the HEX to RGB and HEX to HSL converters cover it properly.

How to use the Color Picker (HEX, RGB, HSL)

Takes about a minute. No signup, no download, your data stays in your browser.

  1. 1
    Open the tool. Scroll up to the Color Picker (HEX, RGB, HSL) above — it loads instantly in your browser, no install needed.
  2. 2
    Enter your values. The fields come pre-filled with realistic defaults so you can see how it works — replace them with your own numbers.
  3. 3
    Read the result. The output updates instantly. Copy or share it — nothing is uploaded to a server, everything stays on your device.

Frequently asked questions

Common questions about the Color Picker (HEX, RGB, HSL).

Which formats can I copy?

Four: HEX in uppercase, RGB, HSL rounded to whole numbers, and a ready-made CSS custom property declaration. Each has its own copy button, so you can take just the one your codebase uses.

Is there an eyedropper to sample a colour from my screen?

No. Selection is through the browser's native colour input and manual RGB fields, so it cannot pick a pixel out of a screenshot or a photograph. Your operating system's built-in colour picker, or a dedicated screen-sampling tool, will do that.

Why does the same colour look different on my phone and laptop?

Because a hex value is an instruction to a display rather than an absolute colour. Panels differ in calibration and colour profile, and ambient light changes perception on top of that. There is no single true rendering of a hex value, which is why colours should be checked on more than one device.

How do I make sure my colours are readable?

Measure the contrast rather than judging it, since appearance varies by display but the luminance ratio does not. Use a contrast checker on every text and background pair you intend to ship, and never rely on colour alone to carry meaning — pair it with a label, shape or icon.

Why do the HSL numbers look slightly off when I convert back?

Because HSL is displayed rounded to whole numbers, which discards a little precision. Converting to HSL and back can therefore land a step or two away from the original value. Keep the HEX or RGB as your source of truth and treat HSL as a working format for adjusting a colour.

Community rating

Discussion (0)

No comments yet. Start the discussion.