Palettr
Light
Copy R list
Save as HTML
Save to GitHub
Settings
Palettes
Add
Extract from Image
or drag & drop an image onto this panel
Number of colors
Sampling step (pixels)
Extract
Add as new palette
Append to selected palette
Extraction runs entirely in your browser using k-means on a canvas. For large images, increase sampling step.
Preview
Ctrl/Cmd + S
to download updated HTML.
Ctrl/Cmd + C
on "Copy R list" to copy again quickly.
Settings
Optional: configure GitHub so the app can commit updated
index.html
to your repository. Your token is stored in this browser's
localStorage
only.
Owner
Repository
Branch
File path
Personal Access Token (with repo scope)