Birač boja sa slike
NovoOdaberite bilo koju boju sa slike i izdvojite njezinu dominantnu paletu kao HEX, RGB i HSL.
Hover the image and click
to pick a color.
Picked colors (click to copy)
Dominant palette
Runs entirely in your browser. Nothing is uploaded.
Pick any color from an image — HEX, RGB and HSL
This free image color picker turns any picture into a clickable color source: drop in a photo, screenshot or logo (or paste it with Ctrl+V), hover to see a magnified pixel loupe, and click to get the exact HEX code, RGB and HSL values — copied to your clipboard instantly. A pick history collects your last 16 colors so you can sample several shades from one image.
The image is read by your browser's canvas API and never sent anywhere. That makes it safe for unpublished designs, client logos, and sensitive work — unlike imagecolorpicker.com, which uploads your file to a server. No sign-up, no account, no ads interrupting your workflow.
A magnifier loupe for pixel-perfect picks
Clicking the right pixel matters — anti-aliased edges, gradients, and text are full of in-between shades. The hover loupe magnifies the pixels around your cursor with a crosshair on the exact one you're about to sample, so you can get the color from an image precisely: the flat fill of a button rather than its blurred edge, the solid area of a logo rather than a JPEG compression artifact.
Images are kept at full pixel fidelity (large photos scale only for display), and every value updates live as you move. Click, and the hex is on your clipboard.
Automatic color palette extraction
Alongside single-pixel picking, the tool extracts the image's dominant color palette automatically — eight swatches ranked by how much of the image they cover, each labeled with its hex code. It's the fastest way to turn a photo into a color scheme: brand moodboards, web themes from a hero image, interior palettes from an inspiration photo.
The extraction quantizes pixels into clusters and averages each cluster, so the swatches represent the image's real character rather than outlier pixels. Click any swatch to copy it, or 'Copy all' for a comma-separated list ready to paste into CSS variables, a design doc, or notes.
Pick from your screen with the EyeDropper API
Need a color that isn't in a saved image — a live website, another app, a video frame? The Pick from screen button opens your browser's native EyeDropper (Chrome and Edge), letting you sample any pixel anywhere on your display. The picked color lands in the same HEX/RGB/HSL panel and history as image picks.
On browsers without the API (Safari, Firefox), the paste workflow covers the gap: press PrtScn (or Cmd+Shift+4 on Mac), then Ctrl+V directly into this page — no need to save the screenshot first. This pattern also works for sampling from PDFs open in the browser or video frames.
How this compares to imagecolorpicker.com, Adobe Color, and Canva
imagecolorpicker.com is the most popular alternative and offers a similar feature set, but it uploads your image to a server on every use and runs ads. Adobe Color extracts palettes from photos but requires an Adobe account, sends images to Adobe's servers, and doesn't offer single-pixel picking with a zoom loupe — it's a palette tool, not an eyedropper. Adobe's paid tools (Photoshop, Illustrator) do offer precise eyedropper picking but require subscriptions starting around $20/month.
Canva's color picker only works on images already in a Canva project. macOS Digital Color Meter and Windows PowerToys Color Picker are screen-level tools that work anywhere on the desktop but don't extract palettes from files. Coolors.co can generate palettes from images but sends files to its server. This tool combines a zoom loupe, palette extraction, screen eyedropper, 16-color history, HEX/RGB/HSL output, and copy-on-click — all client-side, free, and without ads.
Built for designers and developers
Every output is one click from your clipboard in the format you ship: HEX for CSS and Tailwind, RGB for canvas and code, HSL for systematic palette tweaking. Found a brand color? UtiloKit's companion tools take it further — check it against text colors in the Contrast Checker, build harmonies in the Color Palette Generator, or blend it in the Color Mixer.
Because the whole tool is client-side, it loads fast, works offline once open, and never holds your images hostage to an ad impression. Drop, click, copy — that's the entire workflow. On mobile, tap to sample a pixel and pinch-zoom first if you need to hit a precise spot on a dense image.
Color models explained: RGB, HSL, HSV, and beyond
RGB is an additive color model — it simulates light. When all three channels are 0 you get pure black (no light), and when all are 255 you get white (full intensity on every channel). This is the native model for screens and the one the browser canvas exposes. CMYK is the opposite: a subtractive model for ink, where 0,0,0,0 is white paper and 0,0,0,100 (100% black ink) is black. When you pick a web color and need to hand it to a print shop, converting to CMYK correctly requires a color-managed workflow — not a simple formula — because ink on paper and light from a screen cover different gamuts.
HSL (Hue 0–360°, Saturation 0–100%, Lightness 0–100%) re-expresses the same RGB point in a form that matches how designers think. Lightness 50% is a 'pure' color; raise it for a tint, lower it for a shade, without touching the hue. HSV/HSB (Hue, Saturation, Value/Brightness) uses the same hue axis but replaces Lightness with Value — where Value 100% is the most vivid form of a hue (not white). Photoshop's color picker uses HSB; CSS uses HSL. The difference is subtle but matters when you're building systematic palettes: HSL's 50% lightness center keeps hues perceptually comparable, while HSB's value axis compresses the palette toward black at the low end.
For advanced work there are perceptually uniform models. LAB (CIELAB) is designed so that equal numeric steps look like equal visual steps to human eyes — unlike RGB, where a jump from 200 to 210 in the blue channel looks smaller than the same jump in the green channel. LAB is used in image processing, color science, and the Delta E (ΔE) metric for measuring how different two colors look: ΔE below 1 is imperceptible to most people, ΔE 1–2 is detectable only by trained observers, and ΔE above 10 is a clearly noticeable difference. OKLCH is the modern successor for web work — it brings perceptual uniformity to CSS via the oklch() function in CSS Color Level 4, letting you step through lightness or chroma in even intervals that look even on screen.
How canvas-based color picking works under the hood
When you load an image into this tool, it is drawn onto an invisible HTML Canvas element at its native pixel dimensions. Clicking calls ctx.getImageData(x, y, 1, 1), which returns a four-element RGBA pixel array — red, green, blue, and alpha, each as an integer from 0 to 255. To read any arbitrary pixel from a larger canvas read-back, the index into the flat Uint8ClampedArray returned by getImageData follows the formula: index = (y × imageWidth + x) × 4. The four values at that offset are R, G, B, and A. Converting to HEX is a matter of formatting each channel as a two-digit hexadecimal string and concatenating them: # + each channel zero-padded to two hex digits.
Anti-aliasing is why picking from an edge can be misleading. When a browser or image editor renders text or a shape, pixels at the boundary are blended between the foreground color and whatever is behind it — producing intermediate values. A letter edge pixel that looks 'red' might actually be rgb(210, 120, 110): part red fill, part white background, blended together. The zoom loupe in this tool magnifies the pixel grid so you can see these in-between pixels clearly and click the solid fill area instead of a blended edge pixel.
The EyeDropper Web API, available in Chrome 95+ and Edge, goes further than canvas: it samples any pixel on your entire display — other browser tabs, native apps, video players. It returns a sRGBHex string via a promise-based interface. Unlike the canvas approach, it does not require the color source to be loaded into the browser at all. Firefox and Safari do not yet support it, which is why the paste-a-screenshot fallback exists: the same canvas pixel-reading logic handles screenshot images once they land in the browser.
Color accuracy, gamut, and screen calibration
The same HEX value can look noticeably different across monitors because screens vary in their color gamut — the range of colors the hardware can physically produce — and in whether they are calibrated. sRGB is the standard web color space: a hex color written in CSS is assumed to be sRGB, and a well-calibrated sRGB display will reproduce it accurately. An uncalibrated monitor may show the same hex as too warm, too cool, or too vivid because its panel's native output hasn't been mapped to the sRGB reference.
Wide-gamut displays — those supporting the Display P3 color space, which covers roughly 26% more colors than sRGB — add another layer of complexity. A photo taken on an iPhone or shot in ProPhoto RAW can contain P3 colors that are outside the sRGB triangle entirely. When the browser renders that image and you pick a pixel, you get the sRGB-mapped value — which may be a clipped or shifted approximation of the true wide-gamut color. CSS Color Level 4 addresses this with the color(display-p3 r g b) function and the @media (color-gamut: p3) query, letting you serve P3 colors to capable screens. The canvas getImageData API always returns sRGB values, so HEX codes from this tool are always safe for web use — they represent exactly what the browser is rendering.
Delta E (ΔE) is the standard metric for measuring perceptual color difference. It is calculated in LAB space, where Euclidean distance between two LAB points correlates with how different humans perceive those colors. A ΔE below 1 is imperceptible to the naked eye; ΔE between 1 and 2 can be detected only by experienced observers under controlled conditions; ΔE above 2 is visible to most people in a side-by-side comparison; ΔE above 10 represents a clearly distinct color. This matters when comparing a pixel-picked color against an official brand value — a ΔE of 3 between your extracted hex and the Pantone reference may be invisible on screen but significant in print.
Accessibility of picked colors: contrast ratios and WCAG
Extracting a color from an image is only the first step — using that color in a UI means verifying that text placed on or near it remains readable. WCAG 2.1 defines minimum contrast ratios between foreground and background: 4.5:1 for normal-sized text at Level AA, 3:1 for large text (18pt+ or 14pt bold) at AA, and 7:1 for all text at the stricter Level AAA. The ratio is calculated from relative luminance — a weighted sum of the linearized R, G, and B channels (Y = 0.2126R + 0.7152G + 0.0722B, with each channel gamma-expanded first). Contrast is then (L1 + 0.05) / (L2 + 0.05) where L1 is the lighter luminance.
Brand colors extracted from photos frequently fail these thresholds. A vibrant amber pulled from a sunset photo might look strong against white in a mood board but deliver only a 2.8:1 contrast ratio — fine for a decorative element, but failing for body text. The fix is usually to darken the hue for text use and reserve the original extracted color for backgrounds, borders, or icons. HSL makes this adjustment systematic: hold Hue and Saturation constant, then lower Lightness in steps until the contrast check passes. Lightness 35–40% is a common target range for vibrant hues that need to pass 4.5:1 against white.
Interactive elements add another requirement under WCAG 1.4.11 (Non-text Contrast): UI components like buttons, inputs, and focus rings need at least 3:1 contrast against adjacent colors — not just 4.5:1 for their label text. A brand teal that passes AA for text may still fail 3:1 against a white card background when used as a button border. After extracting a palette with this tool, paste the key HEX values into UtiloKit's Contrast Checker to validate every foreground/background pairing before committing the colors to your design system.
Frequently asked questions
How do I find the hex code of a color in an image?
Upload or paste the image here and click the pixel you want — the tool reads it via HTML canvas and shows the HEX, RGB and HSL values instantly, copying the hex code to your clipboard. The magnifying loupe shows individual pixels around your cursor so you hit exactly the right one. There's no upload to a server at any point; everything runs in your browser using the HTML5 canvas API. That makes it instant, private, and usable offline once the page has loaded. For hard-to-click areas like anti-aliased text or logo edges, zoom in first using your browser's built-in zoom before clicking.
How do I pick a color from an image without Photoshop?
Use this free browser-based eyedropper: drop in the image, click a pixel, and copy the code. Nothing to install, no sign-up. Unlike Adobe Photoshop or Illustrator — both of which start around $20/month — this tool is completely free. Unlike macOS Digital Color Meter or Windows PowerToys Color Picker, it also auto-extracts the image's dominant palette, so you get all the main colors at once rather than clicking each one individually. imagecolorpicker.com is the most popular dedicated alternative, but it uploads your file to a server; this tool does not.
What's the difference between HEX and RGB?
They encode the same color two ways. HEX writes red/green/blue as three hexadecimal pairs (#FF5733) and is the standard in CSS and web design; RGB uses three 0-255 decimal numbers — rgb(255, 87, 51) — common in image editors and code. Converting between them is lossless, and this tool shows both for every pixel you click. Use HEX when writing CSS or Tailwind classes; use RGB when working with canvas, WebGL, or image-processing code that expects numeric channels. Both formats describe the same sRGB color point.
What is HSL and when should I use it?
HSL describes a color by Hue (0-360°), Saturation, and Lightness — which is more intuitive for adjusting colors. You can make a color lighter or less saturated without changing its hue at all. CSS supports hsl() natively, so designers often work in HSL when building a palette: nudge Lightness up for a tint, down for a shade. The picker shows HEX, RGB and HSL for every pixel, so you can copy whichever your workflow needs. For Figma, Sketch, or Adobe XD, HEX is usually the quickest format to paste in; for Tailwind or CSS custom properties, HEX or HSL both work well.
How do I extract a color palette from a photo?
Just load the photo — the dominant palette appears automatically. The tool quantizes the image's pixels into clusters and ranks them by frequency, returning the eight most dominant colors as swatches with HEX codes. Click any swatch to copy it, or copy the whole palette at once. Adobe Color and Canva's palette generator do the same thing but require an account; Coolors.co can generate palettes from photos but sends the image to its server. Here the palette extraction runs entirely in your browser — nothing uploaded, no account needed, and no ads interrupting your workflow.
How does an image color picker work?
The image is drawn onto an HTML canvas element in your browser; clicking reads that pixel's red, green, and blue values via the getImageData API and converts them to HEX, RGB, and HSL. Because canvas runs locally, no server is involved at all. The magnifier loupe uses a second canvas element to zoom in on the pixel region around your cursor, letting you target exactly the right pixel even on images with fine detail like anti-aliased text, logo edges, or photographic gradients.
Is it safe to upload my image to a color picker?
On this tool, yes — the image is only loaded into your browser's memory and never transmitted anywhere. You can verify this in your browser's Network tab: no requests are made after the page loads. That matters for unpublished designs, client logos, and private photos. Many upload-based pickers — including imagecolorpicker.com and some Canva features — send your file to a server and store it temporarily. This tool processes everything locally, so your files stay on your device and are gone when you close the tab.
Can I pick a color from my screen, not just an image file?
Yes — the 'Pick from screen' button uses the EyeDropper API (supported in Chrome and Edge) to sample any pixel anywhere on your display, including other windows, apps, and browser tabs. The picked color lands in the same HEX/RGB/HSL panel and history as image picks. For browsers without the API (Safari, Firefox), screenshot the screen with PrtScn or Cmd+Shift+4, then paste directly into the picker with Ctrl+V — no need to save the file first. This covers video frames, PDFs in the browser, and any live web page.
How do I match a brand color from a website or logo?
Save or screenshot the logo and drop it here, then click the brand color and copy the HEX. Or skip the screenshot entirely: use the screen eyedropper button to sample the live website directly while it's open in another tab. This is faster than using browser DevTools to inspect computed styles, particularly when the color is embedded in an SVG or image asset rather than a CSS property. The pick history keeps your last 16 colors, so you can collect a full brand palette from several sources before switching to your design tool.
How many colors should a color palette have?
Most usable palettes have 3–6 colors: a dominant color, one or two secondaries, and accents. The extractor returns eight dominant swatches so you can choose the subset that works best — copy individual swatches or take the full set for a mood board. In practice, four colors is a solid starting point: one primary, one secondary, one neutral, and one accent. Design systems at companies like Stripe and Linear use compact palettes with many lightness and saturation variants of the same hues, rather than many distinct colors.
What color formats do designers and developers use?
HEX for CSS and web work (most common in codebases and design tools), RGB/RGBA for screens and canvas code, HSL for palette building and systematic tweaking, and CMYK for print output. Figma, Sketch, and Adobe XD all support HEX, RGB, and HSL. This picker shows HEX, RGB, and HSL for every pixel so you can copy whichever your workflow needs without any manual conversion. If you also need CMYK for print work, paste the HEX into a free online converter — the canvas API doesn't output CMYK natively.
How do I copy a hex code from the picker?
Clicking a pixel copies its HEX automatically to your clipboard. Every value row, history swatch, and palette chip is also click-to-copy — just click the value or swatch and it's copied. The pick history keeps your last 16 colors so you can collect several shades from one image in sequence before switching to another. Hover over swatches to see their values before clicking. If you need the full palette as a list, use 'Copy all' to get all eight hex codes comma-separated, ready to paste into CSS variables or a design doc.
Can I get a color from a PDF or video frame?
Yes — screenshot the frame or page and paste it into the picker with Ctrl+V (no need to save a file), or use the screen eyedropper to sample directly while the PDF or video is playing. For PDFs open in the browser, the screen eyedropper is usually the quickest: open the PDF in Chrome, click 'Pick from screen', then click the color you want. For video, pause on the frame first for the most accurate sample.
Why does the same image show slightly different colors in different apps?
Browsers may apply color-profile (ICC) conversion when rendering images, and screenshots inherit your display's color profile. The picker reports the actual sRGB pixel values as rendered by your browser — the values you'd use in CSS — which is correct for web work. If you're seeing a mismatch versus Photoshop or Figma, check that your display is calibrated to sRGB and that the image file has an embedded color profile that matches. For logo assets, the designer should ideally provide the brand HEX values directly rather than relying on extraction.
How does this compare to imagecolorpicker.com and Adobe Color?
imagecolorpicker.com is the most-used alternative — it offers single-pixel picking and palette extraction, but uploads your image to its server and shows ads. Adobe Color extracts palettes from photos but requires an Adobe account and sends images to Adobe's servers; it also doesn't offer single-pixel picking with a zoom loupe. Canva's color picker is built into the Canva editor and only works on images inside a Canva project. macOS Digital Color Meter and Windows PowerToys Color Picker work for screen sampling but don't extract palettes from files. This tool is the only free, fully client-side option with a zoom loupe, screen eyedropper, 16-color history, and palette extraction combined — no account, no ads, no upload.
Related tools
Pogledaj sve alateGenerator palete boja
Generirajte komplementarne, analogne, trijadne i monohromatske palete.
Generator kubne krivulje Bezier
Dizajnirajte CSS krivulju ublažavanja povlačenjem kontrolnih točaka, s pregledom uživo.
Generator zaobljenih uglova
Vizualno oblikujte CSS zaobljene uglove i organske blob oblike.
CSS Flexbox igralište
Prilagodite flex svojstva s pregledom uživo i kopirajte CSS.
CSS Grid igralište
Prilagodite stupce rešetke, razmak i poravnanje s pregledom uživo i CSS-om.
Generator staklomorphizma
Dizajnirajte karticu s efektom matiranog stakla i kopirajte CSS, s pregledom uživo.