Skip to main content

Color Picker

Pick any color and instantly get HEX, RGB and HSL codes with one-click copy.

โœ“ Free ยท No sign-up ยท Works in browserLast updated: May 2026 ยท Tested on Chrome, Firefox, Edge, Safari

Use Color Picker

#3B82F6

Pick a color
HEX#3B82F6
RGBrgb(59, 130, 246)
HSLhsl(217, 91%, 60%)

RGB Breakdown

R
59
G
130
B
246

Recent Colors

How to Use Color Picker

  1. Click the colour input widget in the bottom right of the preview panel to open your browser's native colour picker. The exact appearance depends on your OS and browser โ€” on Windows it opens the system colour picker, on macOS the colour wheel, and on mobile devices a touch-optimised selector. All versions let you select any colour from the full visible spectrum.

  2. Select your colour using the picker. Move through the spectrum, adjust brightness and saturation, or type a hex value directly if your system's colour picker supports text input. The large preview area at the top updates in real time, showing the selected colour at full width as you move through the picker.

  3. Read the three colour format values displayed in the panel below the preview: HEX (e.g. #3B82F6), RGB (e.g. rgb(59, 130, 246)), and HSL (e.g. hsl(217, 91%, 60%)). All three update simultaneously whenever you choose a new colour โ€” no manual conversion needed.

  4. Click the 'Copy' button next to any format to copy that exact value to your clipboard. The button flashes 'Copied!' to confirm success. Paste the value directly into your CSS file, Figma design, code editor, or any other application. HEX is most common in HTML/CSS; RGB and HSL are used in CSS color functions and design tokens.

  5. Review the RGB Breakdown bars to understand the colour's channel composition. Check the Recent Colors swatches at the bottom to revisit any colour from this session โ€” click any swatch to instantly reload that colour with all its format values updated.

You Might Also Like

About Color Picker

The Color Picker lets you visually select any colour and instantly see its equivalent values in three formats: HEX, RGB, and HSL. All three update simultaneously as you move through the colour picker, and each format has a dedicated Copy button that places the value directly on your clipboard โ€” ready to paste into a stylesheet, design file, or code editor.

The RGB breakdown panel below the colour values shows a proportional bar for each channel โ€” red, green, and blue โ€” making it easy to understand the composition of a colour at a glance. The preview area at the top renders the selected colour at full size and automatically adjusts the overlaid hex label between dark and light text so it remains readable across the entire colour spectrum.

The Recent Colors section keeps a rolling history of the last 10 colours you have selected during your session. Clicking any swatch instantly loads that colour back, making it effortless to compare options or return to a colour you explored earlier. This is particularly useful when working through a palette โ€” picking several candidate colours, comparing their codes, and narrowing down to a final choice.

Colour values in the correct format are a constant requirement in web development and UI design. CSS accepts hex and rgb() natively; HSL is preferred by many designers for its intuitive hue-saturation-lightness model. Having all three ready with one click eliminates the manual conversion step that slows down design-to-code workflows. The tool runs entirely in your browser with no uploads, no account, and no internet connection required beyond initial page load.

Honest limitation: Colors may look different across screens โ€” always test on your target device before finalizing brand colors.

Tips & Best Practices for Color Picker

  • ๐Ÿ’กUse the WCAG contrast checker built into the tool to verify that your chosen colour meets accessibility standards (4.5:1 contrast ratio for normal text, 3:1 for large text) before finalising any brand or website colour.
  • ๐Ÿ’กWhen building a design system or Tailwind CSS colour palette, generate shades from your primary brand colour using the shade generator and name them 50/100/200/300/400/500/600/700/800/900 following standard design token conventions.
  • ๐Ÿ’กFor web design, prefer HSL format over HEX for CSS variables โ€” HSL values are human-readable and easy to adjust: increasing the L (lightness) value creates a tint, decreasing creates a shade, making colour variations intuitive to calculate manually.
  • ๐Ÿ’กSave your brand colours to the session palette (up to 10 colours) while working on a design project โ€” this prevents you from having to re-enter brand HEX codes each time you need a related shade or tint.
  • ๐Ÿ’กWhen matching a colour from a competitor's website or brand asset, use the browser DevTools eyedropper or the OS colour picker to sample the HEX code, then enter it in the AWE-OS colour picker to get its RGB, HSL, and CMYK equivalents in one step.
  • ๐Ÿ’กFor print design requiring CMYK values, be aware that the CMYK equivalent shown is a mathematical conversion and may not exactly match physical Pantone or spot colour values โ€” always request colour proofs from your printer for critical brand colour matching.

Common Mistakes to Avoid with Color Picker

  • โœ•Choosing brand colours without checking contrast ratios against your background colour โ€” a beautifully on-brand colour that fails WCAG AA contrast (4.5:1) creates accessibility issues and can expose your website to legal liability in jurisdictions with accessibility mandates.
  • โœ•Assuming CMYK values from a digital HEX colour will match exactly in print โ€” RGB and CMYK operate on different colour gamuts. Some vibrant digital colours cannot be physically reproduced in print. Always check with a printer's colour guide for critical brand colours.
  • โœ•Using very similar colours for primary action buttons and disabled state โ€” colours that appear distinct on a calibrated monitor may be indistinguishable to users with colour blindness (affecting approximately 8% of men). Use the contrast checker to verify.
  • โœ•Copying HSL values from the colour picker into CSS without using the css() function or correct CSS syntax โ€” CSS HSL requires `hsl(210, 100%, 50%)` syntax, not the decimal notation some colour pickers display. Verify the format matches your CSS specification.
  • โœ•Using the shade generator output without testing across different display brightness settings โ€” darker shades can appear nearly identical on high-brightness monitors, causing UX issues for users with lower-quality displays.
  • โœ•Changing brand colours late in a project without updating all instances across the design system โ€” use the palette feature to maintain a consistent set of approved colours and avoid ad-hoc colour additions.

Frequently Asked Questions

What colour formats does this tool support?
The tool displays three colour formats simultaneously: HEX (a six-character hexadecimal code like #3B82F6 โ€” the most common format in CSS and HTML), RGB (red, green, blue channels as integers from 0 to 255, used in CSS rgb() functions and digital image processing), and HSL (hue in degrees from 0โ€“360, saturation as a percentage, lightness as a percentage โ€” preferred by designers for its intuitive relationship to how humans perceive colour). All three update in real time and each has an independent one-click copy button.
How do I input a specific hex code I already know?
Click the colour input widget to open your browser's system colour picker. Most modern browsers include a hex input field within the advanced or custom colour section of the picker: in Chrome and Edge on Windows, look for the hex field in the 'Custom' view; in Safari on macOS, use the colour wheel's hex input. Type or paste your hex code starting with # and press Enter. The tool then displays all three format equivalents โ€” HEX, RGB, and HSL โ€” for the colour you entered.
What is the difference between HEX, RGB, and HSL?
HEX is a compact six-character string encoding each colour channel as two hexadecimal digits โ€” widely used in HTML, CSS, and design tools for its brevity. RGB specifies red, green, and blue light intensities independently on a 0โ€“255 scale โ€” useful for programmatic colour manipulation in JavaScript and digital image processing. HSL separates hue (the colour angle on a 360-degree wheel), saturation (the intensity or purity), and lightness (how dark or bright it is) โ€” preferred by designers because predictably changing just the lightness value produces tints and shades of the same colour.
How many recent colours are saved and do they persist?
The tool keeps a rolling history of the last 10 colours you have selected during your current browser session, displayed as clickable swatches in the Recent Colors section. These are stored in component memory, not in browser local storage or cookies, so they are cleared when you close the tab or refresh the page. The session history is useful for comparing a few candidate colours side by side during a design decision, or returning to a colour you explored earlier without recreating it. Click any swatch to instantly reload that colour with all format values.
Why does the preview text switch between black and white?
The preview overlay text uses an automatic contrast calculation based on the perceived luminance of the selected colour. The formula weights each channel by how strongly human eyes respond to it: red at 29.9%, green at 58.7%, and blue at 11.4% โ€” reflecting that the eye is most sensitive to green light. When the resulting luminance exceeds 128 (out of 255), the background is considered light and the text switches to dark grey for readability. Below 128, the text switches to white. This ensures the hex label always remains legible across the full colour spectrum without manual adjustment.
Is this tool useful for web development and UI design?
Yes โ€” it is built specifically for the design-to-development workflow. CSS accepts all three formats natively: hex is the most compact; rgb() is used for dynamic colour manipulation in JavaScript and CSS variables; hsl() is preferred for creating colour scales because adjusting only the lightness value reliably produces tints and shades. Design systems and frameworks like Tailwind CSS, Material UI, and Chakra UI reference colours in these formats in their configuration files. One-click copy eliminates manual transcription errors that cause subtle colour mismatches between design files and code implementations.

Built & maintained by Team AWE-OS

This tool is developed in-house and manually re-tested on Chrome, Firefox, Edge, and Safari after every update, following our tool testing policy. Found a bug? Tell us โ€” fixes are usually shipped within days.

We use cookies for analytics to understand how visitors use AWE-OS. No personal data is sold. Privacy Policy.