各位前端大触们,一般怎么定颜色的?

Views :
Update time : 2025-06-22 11:25:16

请用 OKLCH,再不济用 HSL,用 rgb 和 hex 你就摆脱不了 UI 的支配 用 HSL 的话,有三个值:hue(色相),saturation(饱和度),lightness(明度) 怎么理解? 色相就是“杯子是什么颜色”,饱和度就是“颜色有多浓”,明度就是“在什么样的光强下看”比如,我有个蓝色 —— 220度(色轮),40%浓度(低饱和度),80%明度(高明度),于是我大概想象一下,就知道最终效果: 于是我得到了一个近似的「莫兰迪」配色 然后按照 UI …。

各位前端大触们,一般怎么定颜色的?
Related News
Read More >>
Blog Post With Youtube Video 前端如何设计网页?
2025-06-26 04:15:15
前端如何设计网页?...
Blog Post With Youtube Video 《红色警戒2》里为什么防空导弹不如防空炮?
2025-06-26 05:20:15
《红色警戒2》里为什么防空导弹不如防空炮?...
Blog Post With Youtube Video 你们觉得京东外卖能做起来么?
2025-06-26 05:15:14
你们觉得京东外卖能做起来么?...
Blog Post With Youtube Video 有哪些让你目瞪口呆的 Bug ?
2025-06-26 04:25:14
有哪些让你目瞪口呆的 Bug ?...

Leave Your Message