Hacker News new | ask | show | jobs
by refulgentis 893 days ago
Google's Material You uses this to initiate color theming

(n.b. Celebi's, note usage of Lab / notHSL, respect Cartesian / polar nature of inputs / outputs, and ask for high-K, 128 is what we went with but it's arbitrary. Can get away with as few as 32 if you're ex. Doing brand color from favicon)

1 comments

Ooh this is a much nicer approach than the kind of brute force approach we took at work for theme gen