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

I love tailwind. I would like the addition for perceptual color palette. I do it by hand with HSLuv and I redefine the colors, but having a built in way to build light on ark and dark on light contrast that look good regardless of hue would be cool.


My understanding is that that's a non-trivial problem. You'd likely need some sort of AI system to do it, since the perception of colour isn't something that can be simply modelled.


Yes, it is not trivial, but some color space can help, see my article about it. https://www.kuon.ch/post/2020-03-08-hsluv/




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

Search: