Color Picker — Pick and Convert Colours
A colour picker is an essential tool for web design, graphic design, and development. Whether you need to find the hex code of a colour you have seen, convert between colour formats, or generate a harmonious palette, the free colour picker on PublicSoftTools provides a visual colour wheel, instant format conversion, and palette generation tools — no signup required.
Colour Formats Reference
| Format | Syntax | Example | Value range | Common uses |
|---|---|---|---|---|
| HEX | #RRGGBB | #FF5733 | 00–FF per channel (0–255) | Web (HTML, CSS), design tools, most common web colour format |
| RGB | rgb(R, G, B) | rgb(255, 87, 51) | 0–255 per channel | CSS, digital displays, screen design |
| HSL | hsl(H, S%, L%) | hsl(11, 100%, 60%) | H: 0–360°, S: 0–100%, L: 0–100% | CSS, intuitive for colour adjustments — adjust lightness without changing hue |
| HSV / HSB | hsv(H, S%, V%) | hsv(11, 80%, 100%) | H: 0–360°, S: 0–100%, V: 0–100% | Photoshop, paint tools, colour wheel pickers |
| CMYK | cmyk(C%, M%, Y%, K%) | cmyk(0, 66, 80, 0) | 0–100% per channel | Print design — Cyan, Magenta, Yellow, Key (Black) |
| CSS named colours | colorname | coral, steelblue, tomato | 148 named colours in CSS | Quick CSS use; readable but limited palette |
How to Use the Colour Picker
- Open the colour picker.
- Use the colour wheel to select a hue, then adjust the saturation and lightness with the picker.
- Or enter a known value directly — paste a HEX code, type an RGB value, or enter HSL values.
- All format equivalents (HEX, RGB, HSL, HSV, CMYK) update instantly.
- Use the Palette section to generate complementary, analogous, or triadic colour sets based on your chosen colour.
- Click any colour in the palette to switch to it and see its conversion values.
Colour Relationships and Palette Generation
| Relationship | What it is | Example | Best for |
|---|---|---|---|
| Complementary | Two colours opposite each other on the colour wheel (180° apart) | Blue (#0000FF) and Orange (#FF7F00) | High contrast; vibrant pairings; create visual tension. Good for call-to-action buttons against a brand colour background. |
| Analogous | Three colours adjacent on the colour wheel (30° apart) | Red, Red-Orange, Orange | Harmonious; natural-looking palettes. Good for backgrounds, gradients, calm and cohesive UIs. |
| Triadic | Three colours evenly spaced on the colour wheel (120° apart) | Red, Yellow, Blue (primary triad) | Vibrant, high-contrast palettes with variety. Useful for diverse, colourful designs. |
| Split-complementary | A colour plus the two colours adjacent to its complement | Blue + Yellow-Orange + Red-Orange | High contrast like complementary but less tension. Good balance of contrast and variety. |
| Tetradic (rectangle) | Four colours forming a rectangle on the colour wheel | Red, Green, Blue-Purple, Yellow-Orange | Rich palette; works well if one colour dominates and others are accents. |
| Monochromatic | One hue at multiple lightness/saturation levels | Navy, Blue, Sky Blue, Pale Blue | Clean, professional, elegant. Easy to get right. Good for data visualisation (single variable). |
HEX Colour Codes Explained
A HEX colour code is a 6-digit hexadecimal number prefixed with #. Each pair of digits represents the red, green, and blue channel (0–255 in decimal, 00–FF in hex):
- #RRGGBB — RR is red, GG is green, BB is blue
- #FF0000 — pure red (255 red, 0 green, 0 blue)
- #00FF00 — pure green (0, 255, 0)
- #0000FF — pure blue (0, 0, 255)
- #FFFFFF — white (255, 255, 255 — all channels maximum)
- #000000 — black (0, 0, 0 — all channels zero)
The short form (#RGB) is a shorthand where each digit is doubled: #ABC = #AABBCC. So #FFF = #FFFFFF and #F00 = #FF0000.
RGB vs. HSL: Which to Use in CSS
Both RGB and HSL are valid in CSS. Choose based on which is more intuitive for the task:
- Use RGB when: you have an exact colour from a design tool or brand guidelines (Figma, Sketch output is RGB/HEX)
- Use HSL when: you want to adjust colours programmatically in CSS. HSL makes it easy to create colour variants: same hue and saturation, different lightness. For example, a hover state that is slightly lighter than a button colour: hsl(220, 80%, 50%) → hsl(220, 80%, 60%) — just change the L value.
- Use HSL for design systems: Define a brand colour as hsl(H, S%, 50%) and generate dark/light variants by changing L — systematic and consistent.
CSS also supports oklch() and oklch() (CSS Color Level 4) — perceptually uniform colour spaces where equal steps in the values produce equal steps in perceived colour difference, solving a problem that affects both RGB and HSL.
Colour and Web Accessibility
Colour contrast is a critical accessibility concern. The WCAG (Web Content Accessibility Guidelines) specifies minimum contrast ratios for text and UI elements:
- Normal text (AA): 4.5:1 contrast ratio minimum between text and background
- Large text (AA): 3:1 contrast ratio minimum (18pt or 14pt bold)
- Normal text (AAA): 7:1 contrast ratio — enhanced accessibility
- UI components and graphics (AA): 3:1 contrast ratio minimum
The colour contrast checker calculates the exact contrast ratio between two colours and tells you whether it meets WCAG AA and AAA standards. Good contrast is not just about accessibility — it improves readability for all users, including those in bright sunlight.
Colour Spaces: RGB vs. CMYK for Print
RGB is an additive colour model used for screens: adding red, green, and blue light produces white. CMYK is a subtractive model used for print: overlapping cyan, magenta, yellow, and black inks subtract from white paper to produce colour.
The same colour can look different on screen (RGB) vs. in print (CMYK) because:
- Not all RGB colours are reproducible in CMYK (gamut mismatch) — vibrant saturated screens colours often print duller
- Monitor calibration affects how colours look on screen
- Paper stock, ink type, and printer calibration affect final print colour
For professional print work, work in CMYK from the start in your design tool (Adobe InDesign, Illustrator) rather than converting from RGB at the end. Use Pantone (PMS) spot colours for brand colours that must be reproduced accurately across different print runs.
Common Questions
How do I find the hex code of a colour I see on my screen?
Multiple approaches: (1) Use your browser's devtools — Chrome/Firefox/Edge devtools have a colour picker in the Styles panel when inspecting CSS; (2) Screenshot and use an image colour picker (paste image into the colour picker tool); (3) Use OS-level tools — Digital Color Meter on macOS, PowerToys Color Picker on Windows; (4) Browser extensions like Eye Dropper or ColorZilla add a picker to the browser toolbar, letting you click any pixel on screen.
What is the difference between HSL and HSV/HSB?
Both use Hue (colour wheel position) and Saturation (colour intensity), but the third parameter differs. In HSL, Lightness of 100% is always white — it controls the ratio of tint to shade. In HSV/HSB (Value/Brightness), Value of 100% gives full colour, and Value of 0% is black. Lightness at 50% in HSL is the "pure" colour; Value at 100% in HSV is the pure colour. HSV is more common in graphic design tools (Photoshop's colour picker); HSL is more common in CSS and web design.
Can I convert a Pantone colour to HEX?
Pantone colours do not have precise HEX equivalents — they are physical ink standards, not mathematically defined. Pantone provides approximate RGB/HEX conversions for digital use, but these are approximations. The same Pantone colour looks different on screen vs. in print and varies between printing surfaces. Pantone's Connect tool provides official bridge values; various online tables give community approximations. Treat Pantone → HEX conversions as "close enough for screen presentation" not "exact matches for print production."
Pick and Convert Colours
Visual colour wheel with instant conversion between HEX, RGB, HSL, HSV, and CMYK. Generate complementary palettes. Free, no signup.
Open Colour Picker