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.
如何以数学方式计算HSL主色的值? 当然,我可以在程序中对它们进行硬编码,但我仍然对如何确定颜色是主要颜色还是组合颜色感兴趣。在 HSL 色环中必须有一个内接六边形,所以我需要它的角所在的角度。