惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
博客园_首页
罗磊的独立博客
云风的 BLOG
云风的 BLOG
J
Java Code Geeks
Last Week in AI
Last Week in AI
D
DataBreaches.Net
Jina AI
Jina AI
博客园 - Franky
大猫的无限游戏
大猫的无限游戏
Apple Machine Learning Research
Apple Machine Learning Research
V
V2EX
D
Docker
MongoDB | Blog
MongoDB | Blog
B
Blog RSS Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
人人都是产品经理
人人都是产品经理
H
Help Net Security
T
The Blog of Author Tim Ferriss

neverland

‘Welcome datacomp’ n memory of the man who put red and green squiggles under words Photos Note Photos Photos Photos pikabubu 在香港骑共享单车:访客视角的经验 一个冷门的速查日历方法 Note Love Is to Be Invested in Someone’s Continual Expansion Photos Photos Note Photos Photos Photos Repetitive Cycles The Slow Death of the Power User Photos Photos Photos Photos The Life and Times of an American Tween Photos AI 裁员潮卑鄙生存指南 The Unethical Guide to Surviving AI Layoffs True resilience is not about bouncing back Note Note
Day for Night
2026-05-29 · via neverland

Day for Night (2026-05-29 17:57)

Marcin Wichary:

But there’s a trick [to invert black and white while preserving colors]: do a regular invert and then rotate the hue halfway through. Through the magic of math, this is the same as inverting just L in the HSL space, which means the colors are preserved.

…and, more importantly, [this is] available in CSS as a filter: instead of invert(1), use hue-rotate(180deg) invert(1).