Comment

Comment by dotspencer

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.

parent dotspencer 1 year ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton