🎨 Free Online Colour Picker · No Login

Google Colour Picker

Looking for a colour picker like the one in Google Search — but with more features? This one gives you Hex, RGB, HSL, OKLCH, and CSS output simultaneously, plus colour harmonies, a palette generator, opacity control, and colour history. All free, all in your browser.

Click to copy Hex
Colour Values

Colour Harmony

CSS Output
color: #E8400A;
background-color: #E8400A;

Quick Actions

Recent Colours

Everything This Colour Picker Does — Explained

Most people land on this page because they searched for the Google colour picker and wanted something they could bookmark and use for real work. Here's exactly what you get here that Google's built-in widget doesn't provide.

Visual SV Gradient Panel

The main canvas works exactly like the colour picker you know from Photoshop and Figma — a saturation/brightness gradient with a draggable marker. Click anywhere or drag to select. Touch-screen friendly for phones and tablets.

5 Formats at Once

Hex, RGB, HSL, OKLCH, and CSS all update in real time as you pick. No tab switching, no converting manually. Click any copy button to grab the format your project needs in one action.

Opacity / Alpha Control

The second slider below the hue rainbow controls transparency from 0% to 100%. When opacity drops below 100%, the output automatically switches to rgba() and hsla() — paste-ready for CSS.

Colour Harmonies

Choose from six harmony types — Complementary, Analogous, Triadic, Split Complementary, Tetradic, and Monochromatic. The suggested colours update instantly for every new colour you pick. Click any swatch to copy it.

Type-In Hex Support

Already have a hex code from a design file? Type it directly into the Hex field and press Enter — the picker jumps to that colour and fills in all the other formats immediately. Works with or without the # prefix.

Colour History

The last 12 colours you pick are saved as swatches below the quick actions. Click any past swatch to copy it again — useful when you're sampling across a design system and want to revisit earlier choices.

Lighten, Darken, Saturate

The quick action buttons nudge your current colour in useful directions — 10% lighter, 10% darker, or 10% more saturated. Great for quickly exploring variations of a base colour without manually adjusting the picker.

One-Click CSS Export

The CSS Output panel shows both color and background-color declarations pre-filled with your current colour. Click "Copy CSS Block" to grab both lines at once — ready to paste straight into your stylesheet.


How to Use This Colour Picker — Step by Step

Whether you're new to colour pickers or just want to make sure you're using every feature, here's a plain-English walkthrough.

1

Drag on the colour canvas

Click or drag anywhere on the large gradient panel. Moving left-right changes saturation (how vivid the colour is). Moving up-down changes brightness (how light or dark). The white circle shows where you are.

2

Use the hue slider

The rainbow bar below the canvas is your hue selector. Drag it left or right to move through the colour spectrum — red, orange, yellow, green, cyan, blue, purple, and back to red. This changes which colour family the canvas shows.

3

Set opacity if needed

The second slider (the checkerboard one) controls transparency. Drag left for more transparent, right for fully opaque. When you go below 100%, the Hex, RGB and HSL outputs automatically switch to the alpha-channel versions.

4

Copy your colour

Every format has its own copy button. Click the big coloured bar at the bottom to copy the hex code. Or use the individual copy buttons next to Hex, RGB, HSL, OKLCH, or CSS. A toast notification confirms each copy.

5

Type a hex code to start

If you have a specific colour in mind, click the Hex field, type the 6-digit code, and press Enter. The picker updates instantly and fills in all other formats. No need to manually drag to match a known value.

6

Explore harmonies

Change the dropdown to Complementary, Analogous, Triadic, or any other type. The swatches below update to show which colours work well with your current pick. Click any swatch to copy its hex code directly.


What the Google Colour Picker Does — and What It Doesn't

If you type "colour picker" into Google Search, a small interactive widget appears at the top of the results page. It's a genuinely useful quick-access tool — a colour gradient you can click to get a hex code and an RGB value. For grabbing a colour fast when you're in a browser, it's convenient because you don't need to open another tab.

But it has real limitations. It only shows two formats (hex and RGB). There's no HSL output, which is increasingly important for modern CSS work. There are no colour harmonies, no history of previously picked colours, no opacity control, and no way to type in a specific hex value to start from. For anything more than a quick single-colour lookup, it falls short.

This colour picker fills those gaps. It's designed to be the tool you keep open in a tab during actual design and development work, not just a one-off lookup widget. The full format support, harmony suggestions, CSS export, and history features are all things that come up constantly in real projects.

Why HSL matters more than most people realise

When I first started working with CSS, I used hex codes for everything because that's what design tools produced. It took a while to realise that HSL is genuinely better for writing colour adjustments by hand.

Think about it this way. If you have a brand colour #1a6efc and you need a hover state that's slightly darker, what do you change in the hex code? You'd need to know the exact RGB values and calculate a darker version. In HSL, the same colour is hsl(220, 96%, 55%) and the hover state is just hsl(220, 96%, 46%) — you reduced the lightness by 9 points. The intent is obvious and the calculation is trivial.

This is why modern CSS architecture — Tailwind, CSS custom properties, component libraries — increasingly uses HSL as the primary colour format. Our picker shows all formats simultaneously, but HSL is the one worth paying attention to when you're building systems rather than one-off colours.

Understanding OKLCH — the format that's becoming standard

OKLCH is the newest colour format shown in this picker, and it's worth understanding even if you don't use it yet. The problem with RGB and HSL is that they don't match human perception accurately. Two colours can have the same "lightness" value in HSL but appear noticeably different in brightness to your eye — a vivid yellow at 50% lightness looks much brighter than a vivid blue at 50% lightness.

OKLCH is built on a perceptually uniform colour space. Changes to the L (lightness) value correspond to proportional changes in apparent brightness as humans perceive it. This makes OKLCH palettes feel more consistent — a scale of five colours at different lightness values will actually appear as even steps in brightness, not just evenly spaced numbers.

Browser support note: OKLCH is supported in all modern browsers as of 2023. If you're maintaining a codebase that targets older browsers, you'll want a fallback hex or RGB value. For new projects, OKLCH is a solid choice for design tokens and colour scales.

Colour harmonies: which type to use when

The six harmony types in the picker serve different design purposes. Here's when each one is actually useful:

Colour Formats Reference: What They All Mean

If you've ever been confused about which format to use or what the numbers actually mean, here's the clearest explanation I know.

Hex (#RRGGBB)

A hex code like #E8400A is three pairs of hexadecimal digits: E8 = red (232 in decimal), 40 = green (64), 0A = blue (10). Each pair ranges from 00 (0) to FF (255), giving 256 values per channel and 16.7 million combinations total. The # prefix is just a flag telling the browser this is a colour value. Hex with transparency adds two more digits: #E8400AFF (FF = fully opaque, 00 = fully transparent).

RGB (Red, Green, Blue)

rgb(232, 64, 10) is the decimal version of the same thing. Each value goes from 0 to 255. The rgba() form adds an alpha channel from 0 (transparent) to 1 (opaque): rgba(232, 64, 10, 0.5) is 50% transparent. RGB is useful when you need to manipulate colours in JavaScript or when you want to work with the raw channel values directly.

HSL (Hue, Saturation, Lightness)

hsl(16, 92%, 48%) describes the colour in human terms: the hue is 16° (an orange-red on the colour wheel), saturation is 92% (very vivid), lightness is 48% (slightly below the midpoint — a medium-dark colour). HSL is by far the most intuitive format for making manual adjustments. The hsla() form adds transparency.

OKLCH (Lightness, Chroma, Hue)

oklch(0.63 0.21 33) uses a perceptually uniform model. The L value (0–1) represents perceived lightness that matches human vision. C is chroma (colour intensity). H is hue in degrees. OKLCH is the best format for building consistent colour scales and is increasingly the recommended approach in large design systems.


This Colour Picker vs Other Options

There are several colour picker options available. Here's how this tool compares to the most common alternatives.

ToolFormatsHarmoniesHistoryImage PickOpacityFree
This Tool✓ Hex, RGB, HSL, OKLCH, CSS✓ 6 types✓ Last 12✓ Separate tool✓ Alpha slider✓ Always
Google Colour PickerHex + RGB only
Browser DevToolsHex, RGB, HSL
Photoshop✓ ManyLimited✗ Paid
FigmaHex, RGB, HSL✗ NativeFree tier

Colour Picker Tips Worth Knowing

Small things that make colour work faster and more reliable.

Use HSL when writing CSS by hand

If you're adjusting colours directly in a stylesheet rather than from a design file, HSL is significantly easier to reason about than hex. "Make it 15% lighter" becomes a straightforward lightness value change rather than a hex calculation.

The Random button is a legitimate workflow

When you're stuck on a colour direction, clicking Random 20 times and looking at the results is a valid way to spark ideas. You're not committing to anything — you're just rapidly surveying the colour space for something that catches your eye.

Check complementary colours for button contrast

If your brand uses a primary colour for backgrounds, the complementary colour is often a strong starting point for CTA button colours. Complementary pairs naturally have high visual contrast, which makes them attention-directing without feeling arbitrary.

Always check your colour pair in dark mode

A colour that passes contrast tests in light mode can fail badly in dark mode — or vice versa. Before finalising any colour pairing for a product that supports both themes, test it in both. Adjust lightness values in HSL to adapt; hue and saturation usually don't need to change.

Monochromatic is always safe

If you're not confident about colour combinations, monochromatic palettes (same hue, different lightness) are almost impossible to get wrong. Pick one hue, generate a light, medium, and dark version, add a near-neutral for backgrounds, and you have a workable palette for most projects.

Use colour history to build a palette as you go

Pick your primary, then pick secondary colours one at a time, letting the history row accumulate your choices. After 4–5 picks, you can see all your candidates together in the history and decide which ones to keep. It's an organic way to build a palette without committing too early.


Frequently Asked Questions

Questions people actually search for about colour pickers — answered clearly.

Google's built-in colour picker appears when you type "colour picker" or "color picker" into Google Search — a widget shows up at the top of the results page. You click on the gradient to select a colour, use the hue slider to change the colour family, and it shows you the hex code and RGB value. It's useful for quick lookups but limited in features. For design work where you need HSL values, colour harmonies, opacity control, or CSS export, use the full tool on this page — it runs directly in your browser with no installation.
A HEX colour code is a 6-character string preceded by # that represents a colour's red, green, and blue channels in hexadecimal (base 16). For example, #FF5733 means FF (255) red, 57 (87) green, 33 (51) blue. It's the most widely used colour format in web design because it's compact and universally accepted in HTML and CSS. A short 3-character version like #F53 is shorthand for #FF5533. An 8-character version like #FF5733FF adds an alpha (opacity) channel.
RGB describes a colour by its red, green, and blue channel values (each 0–255). HSL describes it using hue (0–360° on the colour wheel), saturation (0–100% — how vivid), and lightness (0–100% — how bright). RGB is closer to how screens actually produce colour. HSL is closer to how humans think about colour — making adjustments like "10% lighter" or "more muted" are direct number changes in HSL but require conversion in RGB. For writing CSS manually, HSL is much more practical.
Yes. Click the HEX field, type any 6-character hex code (with or without the # symbol), and press Enter. The colour picker will instantly jump to that colour and populate all other format fields — RGB, HSL, OKLCH — automatically. This is the fastest workflow when you have a known colour value from a brand guide, Figma file, or screenshot and need to quickly see it in other formats or find harmonies.
OKLCH stands for OK Lightness, Chroma, Hue. It's a colour format designed to be perceptually uniform — meaning equal numeric changes in lightness correspond to equal perceived brightness changes as seen by human eyes. This is a problem that RGB and HSL have: two colours at the same "lightness" in HSL can look very different in brightness. OKLCH is supported in all modern browsers (Chrome 111+, Firefox 113+, Safari 15.4+) and is increasingly used for design token systems and colour scales.
Colour harmonies are mathematically derived sets of colours that look good together based on their positions on the colour wheel. The most useful types are: Complementary (two opposite colours — maximum contrast, great for CTAs), Analogous (neighbouring colours — natural and calm, good for backgrounds), Triadic (three evenly spaced — vibrant and dynamic), and Monochromatic (same hue, varied brightness — always refined). Using harmonies as a starting point for palette selection is faster and more reliable than picking combinations intuitively, especially for non-designers.
Yes. The colour canvas supports touch events, so you can drag across it with your finger on any smartphone or tablet. The hue and alpha sliders also support touch. On narrow screens, the values panel moves below the canvas so everything stays usable. The copy buttons work on mobile browsers too — the copied value goes straight to your clipboard, ready to paste into your design app or code editor.
This colour picker picks from a gradient — it doesn't sample from uploaded images. For picking colours from photos, logos, or screenshots, use our Image Colour Picker. Upload any image, click any pixel, and get the exact Hex, RGB, and HSL values for that colour. Your image stays in your browser — nothing is uploaded to any server.
The best colour picker depends on your workflow. For a dedicated tool with full format support and harmonies, a browser-based picker like this one is the most accessible option — no installation, works anywhere, always up to date. For colour matching from images, the Image Colour Picker on this site is the right tool. For picking colours directly from live web pages, browser DevTools (F12 → Styles panel) is useful. For the most comprehensive colour work integrated with your design files, Figma's built-in picker is hard to beat. Most designers use a combination of all three depending on the task.

@ HtmlColor.Codes· All tools free · Built for designers & developers worldwide
✓ Copied!