Skip to content

feat: add image color palette extractor utility#380

Merged
shamilahmdt merged 2 commits into
shamilahmdt:mainfrom
Mahnoor-Zaffar:adding-img-extractor
Jul 6, 2026
Merged

feat: add image color palette extractor utility#380
shamilahmdt merged 2 commits into
shamilahmdt:mainfrom
Mahnoor-Zaffar:adding-img-extractor

Conversation

@Mahnoor-Zaffar

@Mahnoor-Zaffar Mahnoor-Zaffar commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add client-side Image Color Palette Extractor at /devutilities/color-extractor
  • Extract 5–8 dominant colors from PNG/JPG/WebP uploads using canvas pixel analysis
  • Export palettes as CSS variables, Tailwind config, Sass, or JSON
  • Register route, sidebar entry, and Dev Utilities overview card
  • Export as CSS, Tailwind, Sass, or JSON

Test plan

  • Upload an image and verify palette swatches
  • Click swatch to copy HEX
  • Test all export formats
  • Confirm tool works offline"

Add a client-side tool to extract dominant colors from uploaded images and export palettes as CSS, Tailwind, Sass, or JSON.
@vercel

vercel Bot commented Jul 5, 2026

Copy link
Copy Markdown

@Mahnoor-Zaffar is attempting to deploy a commit to the shamilahmdt's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown

👋 Hello, @Mahnoor-Zaffar!

Thank you for your contribution to DevTasks.

The maintainer has been notified and will review your pull request shortly. If any changes are needed, we will let you know in the comments below.

@shamilahmdt shamilahmdt merged commit b02d652 into shamilahmdt:main Jul 6, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants