logoalt Hacker News

madeofpalk • yesterday at 10:04 PM • 1 reply • view on HN

   filter: invert() hue-rotate(180deg)
For images. Works better for illustrations to get the vibe of the original colours than actual photographs.

Replies

analog_daddy • today at 12:00 AM

Yep! That’s what is my dark mode userscript too. Reference for anyone interested in more details. https://monochrome.sutic.nu/2024/02/25/hue-preserving-invert...