Loadingโฆ
Loadingโฆ
Pull the main colours out of a photo or logo, with how much of the image each covers, and export them as CSS variables or JSON.
Also covers: Dominant color extractor ยท Color palette extractor ยท Colors from image
Drop an image here
or paste from the clipboard ยท JPG, PNG, WebP, AVIF, HEIC, GIF, BMP, TIFF
The image is analysed on your device and never uploaded.
Colours are found with median cut, refined with a few k-means passes: the image's colours are split into groups and each group's average becomes a swatch. Transparent pixels are ignored.
Drop, choose or paste it โ it stays on your device.
2 to 12, sorted by how much of the image each covers; export as CSS or JSON.
With median cut, refined by k-means: pixel colours are split into groups and each group's average becomes a swatch, weighted by how many pixels it covers.
Big plain areas dominate. Tick โIgnore near-white and near-blackโ, or ask for more colours to catch small accents.
Yes โ transparent pixels are skipped.
Colour
Pick any colour with a saturation/brightness square, from anywhere on your screen (EyeDropper), or from a photo โ and get it in HEX, RGB, HSL, OKLCH and more.
Colour
Convert any colour between HEX, RGB, HSL, HSV, HWB, CMYK, Lab, LCH, OKLab and OKLCH, with the nearest CSS colour name.
Palettes
Build a palette from one colour โ a 50โ950 shade scale or complementary, analogous, triadic and other harmonies, worked out in OKLCH โ and export CSS, Tailwind, SCSS or JSON.
Accessibility
Check text and background colours against WCAG 2.2 AA and AAA, see the exact contrast ratio, and get the closest colour that passes.
CSS
Design linear, radial and conic CSS gradients with any number of colour stops and vivid OKLCH blending, and copy the CSS.
CSS
Layer soft, hard, inset and glowing box-shadows with a live preview, and copy the CSS.