Gratis å bruke, uten konto

Fargevelger for bilder

Velg et bilde, pek på en piksel og lagre fargen. Zoom inn for detaljer, og kopier deretter én farge eller hele paletten.

Prøvene bruker sRGB-pikselen slik nettleseren dekoder den, inkludert gjennomsiktighet. Behandlingen skjer på denne enheten. Maksimum: 12 megapiksler; større bilder må gjøres mindre. En datamaskin anbefales for store bilder.

Hvordan plukker jeg en farge fra et bilde?

Velg et støttet bilde og pek på pikselen du vil hente farge fra. Bruk zoommenyen for detaljer, eller fokuser forhåndsvisningen og bruk piltastene for å flytte én piksel om gangen. Legg farger til i paletten, og kopier deretter én verdi eller alle HEX-verdiene.

Veiledning

Slik bruker du Fargevelger for bilder

The Image Color Picker opens a picture from your own device and lets you point at any pixel to read its color as a HEX code, RGB numbers and an RGBA value. You can zoom in, step one pixel at a time with the arrow keys and keep up to 24 samples in a small list to copy. It reads the pixel the browser decodes. It does not suggest palettes or name colors.

Slik gjør du

  1. Choose a PNG, JPEG, WebP, GIF, AVIF or BMP picture with the file field. It must be 12 megapixels or smaller, which is for example 4000 by 3000 pixels.
  2. Move the pointer over the preview, or click it. The current color panel shows the pixel position, its HEX code, its RGB numbers and its RGBA value. The zoom menu offers 1x, 2x, 4x and 8x.
  3. To work with the keyboard, focus the preview and press the arrow keys to move one pixel at a time, or hold Shift to move ten. Press Enter or Space, or the add button, to put the color in your list.
  4. Use the copy button on a sample for one HEX code, or Copy HEX palette for every code, one per line. Remove deletes one sample, Clear palette empties the list and Reset starts again.

Eksempler

A solid orange pixel

Du skriver inn
Piksel
R: 255; G: 87; B: 51; Alfa: 255
Du får
HEX
#FF5733
RGB
255, 87, 51
RGBA
rgba(255, 87, 51, 1)

Each channel becomes two hex digits: 255 is FF, 87 is 57 and 51 is 33. The pixel is fully opaque, so no extra alpha digits are added to the HEX code. The values come from the tool's own formatting function; no image was opened to get them.

Ikke kjørt med verktøyet. Se på dette som en illustrasjon.

A half-see-through pixel

Du skriver inn
Piksel
R: 0; G: 128; B: 255; Alfa: 128
Du får
HEX
#0080FF80
RGB
0, 128, 255
RGBA
rgba(0, 128, 255, 0.502)

When alpha is below 255 the HEX code gets two more digits at the end. An alpha of 128 is 80 in hex, and 128 divided by 255 is about 0.502. This can happen on PNG, WebP or GIF files that have transparent areas.

Ikke kjørt med verktøyet. Se på dette som en illustrasjon.

Where the size limit falls

Du skriver inn
Bilde A
4000 x 3000 pixels
Bilde B
4001 x 3000 pixels
Du får
Bilde A
accepted (12,000,000 pixels)
Bilde B
rejected, over the limit

The limit is on the total pixel count, 12,000,000. A picture one pixel wider than 4000 at the same height goes over it, and you would need a smaller copy of the file.

Ikke kjørt med verktøyet. Se på dette som en illustrasjon.

Når det er nyttig

  • Read the exact color of a logo or button in a screenshot so you can reuse it in a design or a style sheet.
  • Build a short list of colors from a photo for a mood board or a room-painting idea.
  • Compare two shades on the same screenshot by sampling both spots and looking at the codes side by side.
  • Check whether a spot in a PNG is see-through, because the alpha value is shown with the color.

Begrensninger

  • Images over 12 megapixels are refused, and the list holds at most 24 samples. Opening another picture, or leaving the page, clears the list.
  • A click reads one single pixel, not an average of the area around it. In photos, neighbouring pixels often differ a little because of grain and compression.
  • The values are what the browser decodes. The browser may convert an embedded color profile to sRGB, so they can differ from what an editing program shows for the same spot.
  • It gives HEX, RGB and RGBA only. There are no color names, no HSL or CMYK and no suggested palettes.

Tips

  • Zoom to 8x before you click on a photo, so you can see the single pixel you are about to read.
  • Sample three or four spots on the same area and compare them. If they differ, the area is noisy and you can choose the middle one.
  • Copy the palette into a note straight away. Nothing is saved, so the list disappears when you close or reload the page.

Vanlige spørsmål

How do I pick a color from an image?

Choose a supported image, then move over the preview or click the pixel you want. The panel shows its HEX, RGB and RGBA values. Press the add button, or Enter or Space on the focused preview, to keep it in your list, and copy one code or all of them.

Is my image uploaded anywhere?

No. The browser opens and reads the picture on your device, and the colors are read from it there. The image and the list of colors are not sent to a server, and the tool does not store them.

Why do two nearby pixels show different colors?

Photos carry grain and compression artifacts, so pixels that look the same by eye can differ by a few steps. The tool reports exactly the pixel under the pointer. Sample several spots and pick the one that suits you.

Can I pick a transparent pixel?

Yes. The tool shows the alpha value too, and when a pixel is not fully opaque the HEX code gets two extra digits at the end for alpha. A fully see-through pixel can show RGB values that are not meaningful, so look at alpha first.

Are the colors the same as in the original file?

They are the decoded values the browser holds. For lossy formats such as JPEG the decoded pixel already differs slightly from the camera original, and a color profile may be converted to sRGB. Treat the codes as the values you see on screen.

Can I get color names, CMYK or HSL values?

No. The tool shows HEX, RGB and RGBA only, and the copy buttons copy the HEX code. If you need another format, copy the HEX code into a separate converter or a design program.

Which image types and sizes work?

PNG, JPEG, WebP, GIF, AVIF and BMP files that your browser can decode and that have no more than 12 megapixels. Other file types, or pictures that the browser cannot open, give an error message.

Hvordan plukker jeg en farge fra et bilde?

Velg et støttet bilde og pek på pikselen du vil hente farge fra. Bruk zoommenyen for detaljer, eller fokuser forhåndsvisningen og bruk piltastene for å flytte én piksel om gangen. Legg farger til i paletten, og kopier deretter én verdi eller alle HEX-verdiene.

Lastes bildet mitt opp?

Nei. Nettleseren åpner og leser av bildet på denne enheten. Bildet og paletten sendes ikke til en server.

Kan jeg velge en gjennomsiktig piksel?

Ja. Verktøyet viser alfa og inkluderer den i HEX-verdien med åtte sifre når pikselen ikke er helt ugjennomsiktig.

Er de samplede fargene nøyaktige?

Verktøyet leser én kildepiksel ved de opprinnelige koordinatene etter at nettleseren har dekodet bildet. Nettleseren kan konvertere innebygde fargeprofiler til sRGB; verdiene som vises, er de dekodede pikselverdiene.