main-image

Context

The internet celebrated net neturality the right way yesterday by clogging the tubes with heated discussion on some lady's dress color. What follows is an attempt to resolve this debate. Code can be found on github.

Process

I took the original image and did some basic editing in GIMP to remove the background.

Before

alt

After

alt

I processed each pixel to find its RGB value and then mapped the 100 most frequent RGBs to their nearest color (by name). Some of these RGBs ended up mapping to the same color. I combined these duplicates and sorted by overall frequency based on color name.

Here are the top 10 color names found and a sample corresponding hex value.

Verdict

The dress is dark brown and grayish-blue.

Caveat

I am making the assumption that the person(s) who named these colors did a good job.