做产品 PMaker
空格的键盘
一套界面配色的组成
主题色
品牌 + 主按钮
中性色
文字 · 边框 · 底色,占九成
语义色
成功 · 警告 · 错误
点缀色
图表 · 标签,可选
全部加起来控制在五种色相以内,超过页面就会显得乱

界面配色不是选一堆好看的颜色,是把颜色分配到固定的几个角色上。

Color Basics

Nine-tenths of an interface is neutral; color only goes where it needs to be seen. The more sparingly you use color, the more effective it is.

What you will run into
  • 页面花花绿绿,但说不清重点在哪
  • 想加一个新状态,发现颜色已经不够用了
  • AI 生成的界面全是蓝紫渐变,跟品牌没关系

Three Properties

属性是什么在界面里怎么用
色相红黄蓝,颜色本身用来区分不同类别。同一个页面里色相越少越干净
明度亮还是暗建立层级的主要手段。同一色相拉出深浅,比换色相安全
饱和度鲜艳还是灰大面积用低饱和,小面积可以高饱和。反过来会刺眼
Once you pick a color, write down the exact hex and lay out its shades. If you only write "blue," the next page gets a different blue.

Four Roles

Keep all four roles to no more than five hues combined. Beyond that, users stop being able to read meaning out of color — past a certain density, color degrades into decoration.

一个界面里,四类颜色的面积大致是这个比例 中性色 文字 · 边框 · 底色 · 分隔 约九成面积 主题色 语义色 点缀 做界面最常用的其实是明度:同一个主题色拉出五到九档深浅 按钮、悬停、背景、边框各用一档,页面就自然协调——比换一个色相安全得多。 四类加起来控制在五种色相以内。超过之后用户就无法从颜色里读出意义,颜色退化成了装饰。 另外别只靠颜色传递信息——状态除了颜色还要有文字或图标,正文对比度至少 4.5:1。
Once you pick a color, write down the exact hex and lay out its shades. If you only write "blue," the next page gets a different blue.

How to Pick a Theme Color

方式怎么做
跟品牌一致有 logo 就取 logo 的主色。这是最省事也最不会错的做法
跟内容匹配金融偏稳重的蓝,食品偏暖的橙红,环保偏绿
从参考里取找一个你认可的产品,取它的主色号,再往自己的方向偏一点
用配色工具生成确定主色号之后,用配色工具生成互补色、类比色,挑一个当辅助色
Once you pick a color, write down the exact hex and lay out its shades. If you only write "blue," the next page gets a different blue.

Common Pitfalls