qfr·w zeszłym roku·discussthere 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...
source: https://til.jakelazaroff.com/css/swap-between-black-and-whit...