Sort Colors
Sort the pixels of a PNG by color property.
Drop an image here
PNG, JPG, WebP, GIF or BMP. You can also paste an image.
No result yet
Options
How to use
- 1
Upload a PNG by clicking the upload area or dragging a file in.
- 2
Choose what to sort by: brightness, hue, saturation or a color channel.
- 3
Choose a direction: ascending or descending.
- 4
Click Download to save the sorted image.
Example
Before640 × 427

After640 × 427

Frequently asked questions
Is this the same as Sort PNG Pixels?
Yes. Both pages run the same tool with the same options.
Does this preserve the image structure?
No. All pixels are sorted together, so the picture is rearranged completely.
About this tool
Sort Colors rearranges every pixel of your image by hue, brightness, saturation or one color channel, and lays them back in rows. The result is a sorted spectrum of the image's colors. All processing runs locally in your browser. Your image is never uploaded to any server.