Hue Swipe analyzes an image and extracts its dominant colors. Here's what happens when you
upload:
- 🔹 Resizing: The image is resized to 512x512 pixels to ensure fast
processing.
- 🎯 Sampling: Instead of checking every pixel, we scan pixels at intervals
to speed things up.
- 🎨 Color Quantization: Colors that are very close are grouped together to
avoid duplicates.
- 📊 Sorting: The most frequent colors are counted and ranked.
- 🌈 Results: The top 20 colors are displayed in HEX, RGB, and HSL formats.
This process ensures fast, accurate color extraction without slowing down your browser!