wr
hn
Top
New
Best
Ask
Show
Jobs
Back
q
qfr
Joined 2 years ago
Karma
27
Submissions
1
Member since
May 13
View on Hacker News
Recent submissions
Comment · 1 year ago
there is a way to do something close to this using lch:
--text: lch(from var(--bg) calc((49.44 - l) * infinity) 0 0);
source:
https://til.jakelazaroff.com/css/swap-between-black-and-whit...