From a photo
AI color palette from an image
Upload a photo, moodboard, or UI screenshot. PigmentPicker samples the main colors so you can tweak them, check contrast, and export the values you need.
1 · Start
Describe a Palette with AI
Not sure what colors you want? Let AI generate a palette from a description.
Extract from image
Upload a photo or screenshot and pull its colors into the palette.
2 · Result
Color Palette
Tap a swatch to use it as the base color. Lock a color to keep it when you regenerate.
Export Palette
Download your palette in the format you prefer
Generated Code Preview
JSON{
"palette": []
}3 · Adjust
Color Picker
Base color
Closest match, not an exact conversion.
4 · Check
Contrast Checker
Choose a text color and a background color, then read the contrast ratio.
Sample Text
This is how your text will look
Contrast Ratio
21.00:1
Perfect! This meets WCAG AAA standards.
Text color
Background color
How it works
- Use Extract from image in the Start section above.
- Upload an image from your device.
- Review the pulled colors, lock any you want to keep, and regenerate the rest if needed.
- Export or copy HEX, RGB, CMYK, HCL, or HSL values.
When this helps
Use it when you already have a reference image and need a working palette for a site, app, or brand mock. It is faster than eyedropping colors one by one in a design tool.
FAQ
- How do I get a color palette from an image?
- Use Extract from image at the top of the generator, upload a photo or screenshot, and the tool pulls a set of colors from the image into your palette. You can then edit, lock, or export those colors.
- What image types work?
- Common web formats such as PNG, JPEG, and WebP work. Clear photos with distinct colors usually give cleaner palettes than heavily compressed or blurry images.
- Can I export colors after extracting them?
- Yes. After extraction you can export the palette as JSON, Tailwind config, Adobe ASE, or Figma JSON, and copy individual values as HEX, RGB, CMYK, HCL, or HSL.