Robey Lawrence
banner
robey.au
Robey Lawrence
@robey.au
Pursuing the unpredictable.
Reposted by Robey Lawrence
Found a neat CSS trick to automatically swap between black or white text based on any arbitrary background color!

With relative color syntax, you can use calc to adjust the text color depending if the background is above or below 50% lightness in the LCH color space.
December 2, 2024 at 11:57 PM
Every year..
November 21, 2024 at 11:12 PM
2024 Music Recap
November 21, 2024 at 11:59 AM