Color Picker Online Free
Pick a colour and instantly get its HEX, RGB, and HSL values. Generate harmonious palettes and check WCAG contrast ratios for accessibility — all in your browser.
⏱ 8 min read · Complete guide below
Colour Palette Generator
5 hues side-by-side on the colour wheel — harmonious and calm.
Contrast Checker
Verify text-to-background contrast for WCAG 2.1 accessibility compliance.
Large Text (18 pt / Bold 14 pt)
Normal text — The quick brown fox jumps over the lazy dog. 0123456789
How to Use the Colour Picker
- 1Click the colour swatch to open your browser's native colour picker. Choose any colour visually, or type a known HEX, RGB, or HSL value directly into the inputs — all three stay in sync.
- 2Use the Copy buttons next to each format to copy the value to your clipboard and paste it straight into your CSS, design tool, or code editor.
- 3Scroll to Colour Palette Generator and select a harmony type — Analogous, Complementary, Triadic, Split-Complementary, Tetradic, or Monochromatic. The palette updates instantly from your base colour.
- 4Click any palette swatch to copy its HEX value. The base colour is highlighted with a ring so you can always identify it in the palette.
- 5Open the Contrast Checker, set a text colour and background colour, and read the WCAG 2.1 pass/fail results for AA and AAA at both normal and large text sizes.
Understanding Colour Models
Designers and developers work with three main colour models. HEX encodes red, green, and blue channels as a six-character base-16 string — fast to type and universally supported in HTML and CSS. RGB expresses the same channels as integers 0–255, which maps directly to how screens mix light. HSL (Hue, Saturation, Lightness) is the most human-readable model: spin the hue dial to change colour family, reduce saturation to grey, and adjust lightness from black to white.
When making a colour darker or lighter in code, HSL is far more intuitive than adjusting all three RGB channels manually. When sharing colours with clients or developers, HEX is the safest format because every design tool and browser understands it.
Colour Harmony Types — When to Use Each
Analogous
Adjacent hues create a calm, natural feel. Ideal for nature brands, wellness apps, and editorial layouts where cohesion matters more than contrast.
Complementary
Two opposite hues at maximum contrast. Best for call-to-action buttons, product highlights, and sports branding where impact is the goal.
Triadic
Three evenly-spaced hues — vibrant and balanced. Great for playful brands, children's products, and colourful illustration work.
Split-Complementary
Softer than complementary — the two accent hues sit adjacent to the complement, reducing visual tension while keeping a lively contrast.
Tetradic (Square)
Four hues forming a rectangle or square on the wheel. Rich colour variety, but requires careful balance — one hue should dominate.
Monochromatic
Single hue at varying lightness levels. The cleanest, most professional scheme — widely used in SaaS dashboards, fintech, and minimalist design.
Practical Uses for This Tool
Web Design
Extract HEX values for CSS variables, verify contrast for accessible text, and build a complete colour system from a single brand colour.
UI / Product Design
Generate tints and shades with the monochromatic palette for button states, card backgrounds, and hover effects that feel systematically designed.
Branding & Logos
Start from a brand's primary colour and generate complementary accent colours for marketing materials, social assets, and style guides.
Accessibility Auditing
Paste your existing text and background colours into the contrast checker to quickly identify WCAG AA/AAA failures before publishing.
How Screens Actually Create Colour
Understanding why colours on the web are described in red, green, and blue starts with how a screen works. Every pixel on your display is made of three tiny sub-pixels — one red, one green, one blue — and by varying how brightly each one glows, the screen mixes them into the single colour your eye perceives. This is additive colour mixing: you start from black (all sub-pixels off) and add light to reach white (all at full brightness). It is the opposite of mixing paint, where combining pigments subtracts light and heads toward black.
This is exactly why RGB and HEX are the native languages of screens: they specify how much of each colour of light to emit. An RGB value of 255, 0, 0 means full red light and no green or blue; HEX #FF0000 encodes the same three numbers in base-16. Once you picture three little lights behind every pixel, the colour codes stop looking like arbitrary strings and start reading as brightness instructions for red, green, and blue.
A Quick Tour of Colour Theory
Choosing colours that work well together is where the colour wheel comes in — the circular arrangement of hues that underlies every palette this tool generates. Colours opposite each other on the wheel are complementary and create strong contrast; colours next to each other are analogous and feel harmonious; three evenly spaced colours form a triadicscheme that is vibrant yet balanced. These relationships are not aesthetic superstition — they describe how our visual system responds to combinations of hues.
The wheel also carries emotional temperature. Warm colours (reds, oranges, yellows) feel energetic, inviting, and attention-grabbing, which is why they suit calls to action and food brands. Cool colours (blues, greens, purples) feel calm, trustworthy, and professional, which is why so much fintech, healthcare, and software branding leans blue. Picking a base hue whose temperature matches the mood you want is often the most important colour decision you make; the harmony types then help you build a full scheme around it.
Why HSL, LAB, and OKLCH Exist
RGB and HEX describe colour the way a screen produces it, but they are awkward for humans to reason about — nudging three channels to make a colour “a bit darker” is unintuitive. That is why HSL exists: by separating Hue, Saturation, and Lightness, it lets you spin to a different colour family, drain toward grey, or slide from black to white, each with a single control. For adjusting and generating related colours, HSL is far more natural.
HSL has one flaw, though: it is not perceptually uniform. Two colours with the same “lightness” value in HSL can look very different in actual brightness — a pure yellow appears much lighter than a pure blue at the same HSL lightness. This is the problem newer models solve. LAB and the modern CSS OKLCH are designed so that equal numerical steps correspond to equal perceived changes, which makes them excellent for generating consistent tints and shades and for interpolating between colours smoothly. OKLCH has growing browser support and is worth knowing about, though HEX, RGB, and HSL remain universally supported and perfectly sufficient for most work.
Building a Usable Colour System
A palette of pretty colours is not the same as a working design system, and a few principles bridge the gap. The classic starting point is the 60-30-10 rule: roughly 60% of a design should be a dominant (often neutral) colour, 30% a secondary colour, and 10% an accent for calls to action and highlights. This proportional balance prevents the common mistake of using bright colours everywhere, which leaves nothing to draw the eye.
Beyond the core hues, real interfaces need tints and shades — lighter and darker variations of each colour for hover states, backgrounds, borders, and disabled elements — which the monochromatic palette here generates from a single base. It also helps to think in semantic roles rather than raw colours: define a “primary,” a “danger” (usually red), a “success” (usually green), and neutral greys, so your colours mean something consistent across the product. Crucially, check every text-and-background pairing with the contrast tool before committing, so your beautiful system is also readable. Start from one brand colour, build out its harmonies and shades, assign semantic roles, and verify contrast — that sequence turns a colour picker into a complete, accessible palette.
Frequently Asked Questions
What is the difference between HEX, RGB, and HSL?
HEX is a 6-character hexadecimal code (e.g. #3b82f6) used in HTML and CSS. RGB expresses the red, green, and blue light channels as integers 0–255. HSL describes the colour as Hue (0–360°), Saturation (0–100%), and Lightness (0–100%). All three describe the same colour — choosing a format depends on your workflow: HEX is most common in code, HSL is the easiest for humans to reason about when adjusting colours.
What is WCAG contrast ratio and why does it matter?
The Web Content Accessibility Guidelines (WCAG) define minimum contrast ratios between text and its background so that people with low vision or colour blindness can read content. Level AA requires at least 4.5:1 for normal text and 3:1 for large text (18pt or bold 14pt). Level AAA requires 7:1 and 4.5:1 respectively. Meeting at least AA is a legal requirement for many public-sector and e-commerce websites.
What is an analogous colour palette?
Analogous palettes use colours that sit next to each other on the colour wheel (±30° and ±60° from your base hue). They are naturally harmonious because the colours share a common hue family. Analogous schemes are common in nature and work well for calm, cohesive designs like landing pages, dashboards, and illustrations.
When should I use a complementary vs. triadic palette?
Complementary palettes pair your base colour with the colour directly opposite on the wheel (180° away), creating maximum contrast — ideal for call-to-action buttons or bold branding. Triadic palettes use three colours evenly spaced 120° apart, which gives a vibrant, balanced feel while maintaining more variety than complementary. Use complementary for high contrast and focus; triadic for energetic, multi-element designs.
Can I use this tool to find colours from an image?
This tool generates and converts colours you pick or type manually. To extract colours from an image (an eye-dropper), use your browser's built-in eye-dropper (available in Chrome/Edge via the Colour Picker DevTools panel), the CSS Eye-dropper API in supporting browsers, or a dedicated tool like Adobe Color or Coolors.co. The palette generator here then helps you build a scheme once you have your base colour.
What is a monochromatic palette?
A monochromatic palette keeps the same hue and saturation while varying only the lightness — from dark to light. This produces a cohesive, elegant scheme that is easy to apply consistently across backgrounds, text, and UI components. It is especially popular in minimalist design, documentation sites, and product UIs.
How do I use the copied colour value in CSS?
You can paste any copied format directly into a CSS property. HEX is used as `color: #3b82f6;`, RGB as `color: rgb(59, 130, 246);`, and HSL as `color: hsl(217, 91%, 60%);`. In modern CSS you can also use `oklch()` for perceptually uniform colours, but HEX, RGB, and HSL have universal browser support back to IE 9.
Does the contrast checker work for UI components, not just text?
WCAG 2.1 specifies contrast requirements specifically for text against its background. For non-text UI components (icons, borders, input outlines) the requirement is 3:1 against adjacent colours — this is the same as the AA Large Text threshold. WCAG 3.0 (in development) proposes the APCA model for more nuanced contrast scoring, but AA/AAA from WCAG 2.1 remains the current widely-adopted standard.