设计创作 · 更新

配色入门:如何为设计与网页挑一套好看的配色

不懂色相、明度、饱和度也能配出高级感?本文讲解 60-30-10 法则、互补与邻近配色、对比度与可访问性,以及取色与生成渐变色的实用方法。

先理解颜色的三个维度

用 HSL 思考比 RGB 更直观:色相(H)决定颜色种类,饱和度(S)决定鲜艳度,明度(L)决定明暗。调配色时,通常固定色相、微调 S/L,就能得到同一色系的深浅层次。

60-30-10 万能比例

一个耐看的界面/海报往往遵循:60% 主色(背景/大面积)、30% 辅色(卡片/区块)、10% 强调色(按钮/重点)。强调色与主色形成对比,视觉焦点自然浮现。

几种经典配色关系

  • 邻近色:色环相邻,和谐统一,适合沉稳风格;
  • 互补色:色环相对,对比强烈,适合突出行动点;
  • 三色:均匀分布,活泼平衡。

别忽略对比度与可读性

文字与背景要有足够对比度(正文建议达到 WCAG AA 的 4.5:1)。避免在繁忙背景上直接放浅色文字;必要时加半透明底或描边。色盲友好:不要只靠颜色传达信息。

用工具快速取色与生成

用 配色网 可以取色、生成渐变、检查对比度、探索配色方案;做背景可上 背景图 生成纹理,做封面用 封面图 直接套用配色模板,快速产出协调的视觉。

?

常见问题

一套配色最多用几个颜色?

一般 3–5 个主色足够,配合中性色(黑白灰)使用,颜色过多反而显乱。

渐变色怎么做才高级?

相邻色相 + 控制明度过渡最耐看,避免高饱和互补色直接对撞,可用工具生成平滑渐变。

如何判断对比度够不够?

用对比度检查工具,正文与背景建议 ≥ 4.5:1,大字号可放宽到 3:1。

Design · Updated

Color Basics: How to Pick a Great Palette for Design & Web

You don't need to master hue/saturation/lightness to get tasteful palettes. Learn the 60-30-10 rule, complementary/analogous harmony, contrast/accessibility, and quick ways to sample colors and gradients.

Think in HSL, not RGB

HSL is intuitive: Hue is the color family, Saturation the intensity, Lightness the brightness. Keep hue and nudge S/L to build tints and shades of one color.

The 60-30-10 rule

Look at any balanced UI or poster: about 60% dominant (background), 30% secondary (cards/sections), 10% accent (buttons/highlights). A contrasty accent naturally draws the eye.

Classic color relationships

  • Analogous: neighbors on the wheel — calm and unified;
  • Complementary: opposites — high contrast for calls-to-action;
  • Triadic: evenly spaced — vibrant yet balanced.

Don't forget contrast

Text needs enough contrast (aim for WCAG AA 4.5:1 for body). Avoid light text on busy backgrounds; add a scrim or outline when needed. Be colorblind-safe: don't rely on color alone.

Sample and generate quickly

Use Color Palette to pick colors, build gradients, check contrast and explore schemes; generate textures with Background Maker; apply ready palettes in Cover Maker for harmonious visuals.

?

FAQ

How many colors per palette?

Usually 3–5 main colors plus neutrals; more tends to look messy.

How to make classy gradients?

Adjacent hues with smooth lightness transitions beat clashing high-saturation complements.

Is my contrast enough?

Check with a contrast tool — body text ≥ 4.5:1, large text can drop to 3:1.

发现更多 365Lab 免费工具

全部工具永久免费、无需注册,收藏本站随时直达。

返回首页