Free Online Color Picker

Pick Any Color & Get HEX, RGB & HSL Instantly

Need to use Color Picker right now?

Picking a color and getting its exact code in every common format — HEX for CSS, RGB for canvas or design tools, HSL for intuitive lightness adjustments — is one of the most frequent small tasks in web design and development. This tool uses your browser's native color picker interface, then instantly shows the selected color in all three formats with one-click copying.

No sign-upNo uploads 100% free
#4f46e5
rgb(79, 70, 229)
hsl(243, 75%, 59%)

Features

  • Runs entirely in your browser
  • Privacy-first — your data is never uploaded
  • Real-time, instant results
  • 100% free, no sign-up required
  • Works on desktop, tablet, and mobile
  • No installation needed

Who uses this tool?

DesignersDevelopersArtistsMarketers

About Color Picker

Picking a color and getting its exact code in every common format — HEX for CSS, RGB for canvas or design tools, HSL for intuitive lightness adjustments — is one of the most frequent small tasks in web design and development. This tool uses your browser's native color picker interface, then instantly shows the selected color in all three formats with one-click copying.

On browsers that support it (most modern Chromium-based browsers like Chrome and Edge), an eyedropper tool lets you pick a color directly from anywhere on your screen — not just from the picker's own palette, but from any pixel in any open window, including images, other websites, or design mockups. This uses the browser's built-in EyeDropper API, running entirely locally with no screenshot or image upload involved.

All three color format conversions (HEX to RGB to HSL) use precise, standard color space math — the same conversion formulas used across design tools and browsers, so the values shown match exactly what you'd see in a browser's own dev tools color picker.

This is useful for quickly grabbing a color from a design reference, converting a picked color into the exact format your code needs, or just exploring how a color's HEX, RGB, and HSL representations relate to each other.

How it works

  1. Click the color swatch to open the picker. Or use the eyedropper to sample a color from anywhere on screen.
  2. View the color in HEX, RGB, and HSL. All three formats update instantly as you pick.
  3. Copy whichever format you need. One click copies the exact code, ready to paste into your code.

Examples

Picking a color

Input

Selected color: a medium indigo blue

Output

#4f46e5 — rgb(79, 70, 229) — hsl(244, 75%, 59%)

Frequently asked questions