← Back to context

Comment by schobi

3 days ago

It would be interesting to learn how this was created.

Did you buy all these colors and paint and scan them? Did you analyze the shopping images of the bottles and classify them into hex colors? Or maybe just group by the color names given in the storefront listing?

Vastly different efforts, different "accuracy", but still, each methods has its use. But knowing what to expect would be nice.

I pulled out the RGB values from the solid color areas of the swatch images on the manufacturers' websites for each of the colors.

It's definitely just an approximation of the real-world color, but I figured that if that's the RGB value the manufacturer used, it's probably pretty close.

Then I calculate the euclidean distance between the RGB value from the provided hex and each of the paints, and show the two closest matches from each brand.