Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Excellent explanation! I came here thinking “why use ML for this?” and this is specifically addressed:

> You might ask at this point, if we can enumerate all possible solutions like this, why not just generate colors from first principles - why is machine learning even needed? The answer is basically that translation and rotation in colorspace might be contrast-invariant, but they're not preference invariant. Humans have subjective preferences for certain color combinations over others, so to generate pleasing color combinations we need to quantify which areas in the configuration space people generally prefer.

> To quantify which color combinations graphic designers prefer, I started by scraping design thumbnails from the web.

> At this point we have a decent sized dataset to train our ML model. The overall approach is to treat the problem as conditional image generation - the color contrast graph is the input and the corresponding color palette is the output.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: