Skip to content

Free Online Color Picker

Click any pixel of an image, or use the color wheel, to get its HEX, RGB, HSL and CMYK code, check its contrast and export it to CSS or Tailwind. Free, no signup, and your image never leaves your browser.

Example image · drop or paste your own

Click anywhere on the image to pick that pixel. Arrow keys move one pixel at a time (Shift: 10).

Export

@theme {
  --color-brand: #FFD166;
  --color-brand-50: #FEFAF1;
  --color-brand-100: #FCF3DE;
  --color-brand-200: #FFE8B3;
  --color-brand-300: #FFD166;
  --color-brand-400: #FFC847;
  --color-brand-500: #FFB814;
  --color-brand-600: #E5A000;
  --color-brand-700: #BD8400;
  --color-brand-800: #946700;
  --color-brand-900: #704E00;
  --color-brand-950: #423005;
}
Picked color#FFD166
RGB
rgb(255, 209, 102)
HSL
hsl(42, 100%, 70%)
CMYK
cmyk(0%, 18%, 60%, 0%)

Contrast (WCAG 2.2)

AaWhite text

1.44:1

  • AAfail
  • AAAfail
  • AA largefail
AaBlack text

14.56:1

  • AApass
  • AAApass
  • AA largepass

AA: 4.5:1 for body text, 3:1 for large text. AAA: 7:1.

Shades and tints

  • 50
  • 100
  • 200
  • 300
  • 400
  • 500
  • 600
  • 700
  • 800
  • 900
  • 950

Export

@theme {
  --color-brand: #FFD166;
  --color-brand-50: #FEFAF1;
  --color-brand-100: #FCF3DE;
  --color-brand-200: #FFE8B3;
  --color-brand-300: #FFD166;
  --color-brand-400: #FFC847;
  --color-brand-500: #FFB814;
  --color-brand-600: #E5A000;
  --color-brand-700: #BD8400;
  --color-brand-800: #946700;
  --color-brand-900: #704E00;
  --color-brand-950: #423005;
}

How to pick a color from an image: Upload or paste your image into Kleap's free color picker and click the pixel you want. You get its HEX, RGB, HSL and CMYK codes, a contrast score against white and black text (WCAG AA/AAA) and a shade scale to export as CSS or Tailwind. The image stays in your browser.

What Is a Color Picker?

A color picker is a digital tool that lets you select, identify, and convert colors between different formats. Whether you need to find the exact HEX code of a color on a website, convert an RGB value to HSL, or simply browse and discover new colors for your design project, a color picker makes the process fast and intuitive. Designers, developers, and marketers rely on color pickers daily to ensure consistency across digital and print media.

Kleap's color picker works on the images you already have: drop a logo, a photo or a screenshot, click a pixel and get its exact code, with a magnifier for small details. It also lists the main colors of the image, checks the color against white and black text (WCAG AA and AAA), builds a 50-950 scale of shades and exports it as CSS variables or a Tailwind theme you can paste into your project.

Color Formats Explained

HEX

The most common web color format. A 6-digit hexadecimal code preceded by #. Widely used in CSS, HTML, and design tools for precise color specification.

#3B82F6

RGB

Red, Green, Blue — defines colors by mixing three light channels from 0 to 255. The standard for screens, monitors, and digital displays.

rgb(59, 130, 246)

HSL

Hue, Saturation, Lightness — a human-friendly format that makes it easy to adjust color brightness and saturation without changing the base hue.

hsl(217, 91%, 60%)

CMYK

Cyan, Magenta, Yellow, Key (Black) — the standard for print design. Essential when your colors need to look accurate on paper, packaging, or merchandise.

cmyk(76, 47, 0, 4)

Color Psychology: What Colors Mean

Red

Evokes energy, passion, urgency, and excitement. Red increases heart rate and creates a sense of immediacy.

Best for: CTAs, sale banners, food brands, entertainment, sports

Blue

Conveys trust, professionalism, calm, and security. The most universally liked color across cultures.

Best for: Finance, healthcare, tech companies, corporate branding

Green

Represents nature, growth, health, and harmony. Associated with freshness and environmental responsibility.

Best for: Eco brands, wellness, organic products, finance (growth)

Yellow

Signals optimism, warmth, happiness, and attention. The most visible color in daylight.

Best for: Children's brands, creative agencies, warning signs, highlights

Purple

Suggests luxury, creativity, wisdom, and royalty. Historically the most expensive dye, associated with exclusivity.

Best for: Beauty brands, premium products, creative industries, spirituality

Orange

Communicates enthusiasm, confidence, friendliness, and adventure. Combines the energy of red with the warmth of yellow.

Best for: E-commerce CTAs, youth brands, food delivery, travel

6 Tips for Choosing the Right Colors

1

Consider your brand identity

Your colors should reflect your brand personality. A luxury brand might use black and gold, while a health startup might choose green and white. Start with your brand values, not personal preference.

2

Use the 60-30-10 rule

Apply your dominant color to 60% of your design, secondary color to 30%, and accent color to 10%. This interior design principle creates visual balance in any layout.

3

Test contrast ratios

Ensure text is readable against background colors. WCAG 2.1 requires a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text. Use a contrast checker tool.

4

Think about accessibility

About 8% of men and 0.5% of women have color vision deficiency. Never rely on color alone to convey information. Test your palette with a colorblind simulator.

5

Use complementary colors

Colors opposite each other on the color wheel (like blue and orange) create high contrast and visual impact. Use them for CTAs and key elements that need attention.

6

Get inspiration from nature

Natural color combinations — sunrise palettes, ocean tones, forest greens — are inherently harmonious. Nature is the best color theorist; observe and adapt.

Color Picker Comparison: Kleap vs Alternatives

FeatureKleapGoogle Color PickerCoolors
PriceFree, no signupFreeFree, with a paid Pro plan
Pick from an imageExact pixel, with magnifierNoPalette from a photo
Color formatsHEX, RGB, HSL, CMYKHEX, RGB, CMYK, HSV, HSLHEX, RGB, HSL, CMYK and more
Contrast checkAA / AAA on the same screenNoSeparate contrast tool
Code exportCSS variables, Tailwind v3 and v4NoCSS, Tailwind, SVG, PDF and more
Use it on a websiteBuilds a site in your colorNoNo

Checked on November 17, 2026 on google.com and coolors.co.

Frequently Asked Questions

How do I pick the best colors for my website?+
Start with your brand colors, then use the 60-30-10 rule: 60% dominant color (background), 30% secondary color (sections, cards), and 10% accent color (buttons, links). Use Kleap's color picker to find harmonious combinations and check contrast ratios for accessibility.
What is a HEX color code?+
A HEX color code is a 6-digit hexadecimal number preceded by # that represents a color. The first two digits represent red, the middle two green, and the last two blue. For example, #FF0000 is pure red, #00FF00 is pure green, and #0000FF is pure blue. HEX codes are the most common color format used in web design and CSS.
How do I find the exact color from an image?+
Upload or paste the image into the color picker above, then click the exact spot you want: the magnifier shows the pixels around your pointer, and the tool gives the color's HEX, RGB, HSL and CMYK codes. You can also move pixel by pixel with the arrow keys. In Chrome and Edge, "Pick from screen" samples a color anywhere on your screen.
What are the best color combinations for web design?+
Classic combinations include: blue + white (trust, clarity), black + gold (luxury, premium), green + white (health, nature), navy + coral (modern, professional), and purple + yellow (creative, bold). Use complementary colors (opposite on the color wheel) for high impact, or analogous colors (adjacent) for harmony.
What is a color picker used for in web design?+
A color picker helps web designers select exact colors, convert between formats (HEX, RGB, HSL), sample colors from logos and screenshots, check accessibility contrast and build consistent color scales. It is the quickest way to reuse a brand color exactly instead of guessing it.
What is the difference between RGB and CMYK?+
RGB (Red, Green, Blue) is an additive color model used for screens and digital displays — mixing all three at full intensity creates white. CMYK (Cyan, Magenta, Yellow, Key/Black) is a subtractive model used for printing — mixing all four creates black. Always use RGB for web and CMYK for print.
How do I convert HEX to RGB?+
To convert HEX to RGB, split the 6-digit code into three pairs and convert each from hexadecimal to decimal. For example, #3B82F6 becomes R:59 G:130 B:246. Our color picker does this conversion automatically — just enter any color code and get all formats instantly.
What colors are best for accessibility?+
Focus on contrast rather than specific colors. WCAG 2.2 level AA asks for at least 4.5:1 between normal text and its background, and 3:1 for large text (about 24 px, or 19 px bold); level AAA asks for 7:1. The picker above shows both scores for white and black text on your color. Never use color as the only way to convey information.
Can I use this color picker for free?+
Yes. Kleap's color picker is free with no signup: pick colors from images, convert between HEX, RGB, HSL and CMYK, check contrast and export CSS or Tailwind code without creating an account. Images are read in your browser and are never uploaded.
How do I create a color palette for my brand?+
Start with one main brand color, for example picked from your logo. Build its scale of lighter and darker shades (the 50-950 row above), add one accent and a neutral for text and backgrounds, and check that your text colors pass WCAG AA. The Kleap color palette generator can then suggest matching colors from your main one.

Found Your Perfect Color? Build Your Website Next

Use the color you just picked on a real website: Kleap builds your site in minutes, with your brand color already in it.

Start Building Free
A first draft uses a small part of your usageFree to start, usage refills