Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们如何将颜色与十六进制代码混合?例如黄色+蓝色=绿色ffff00+0000ff=00ff00。这是什么算法?
您使用什么语言?
在大多数语言中,我们可以屏蔽 R、G、B 分量,并分别进行加法和裁剪(拟合到 [0, 255] 范围)。 可能有特定语言的库可以为您添加。