MChartKit

Colour Palette Generator配色方案生成

Build analogous, complementary, triadic and monochrome palettes from a base colour, check contrast ratios and export CSS variables.

从一个主色生成邻近色、互补色、三分色与单色渐变方案,检测与白色的对比度,导出 CSS 变量。

What is Colour Palette Generator?配色方案生成 是什么?

A palette builder that starts from one colour and derives a usable scheme. Choose analogous, complementary, triadic, split-complementary or monochrome, set how many swatches you need, and the tool produces the hex values with a WCAG-style contrast ratio against white for each one — so you can immediately see which swatches are safe for text and which are decoration only. The result exports as CSS custom properties.

一个从一个主色推导出一整套可用配色的方案生成器。选择邻近色、互补色、三分色、分裂互补或单色渐变,设定需要的颜色数量,工具给出十六进制色值,并按 WCAG 规则算出每个色块与白色的对比度——一眼就能看出哪些色块适合放文字、哪些只能做装饰。结果可直接导出为 CSS 变量。

How to use colour palette generator如何使用 配色方案生成

  1. Pick the base colour and the scheme type.
  2. Set the number of swatches you want.
  3. Press Generate to see the swatches and their contrast ratios.
  4. Copy the CSS variables or download the palette as a PNG.
  1. 选择主色与方案类型。
  2. 设置需要的色块数量。
  3. 点"生成",查看色块与对比度。
  4. 复制 CSS 变量,或把色板导出为 PNG。

Common uses常见用途

FAQ常见问题

What does the contrast ratio mean?对比度是什么意思?

It is the WCAG relative-luminance ratio between the swatch and white, from 1 (identical) to 21 (black on white). Text needs at least 4.5:1, large text 3:1.

这是色块与白色之间的 WCAG 相对亮度比,取值 1(完全相同)到 21(黑底白字)。正文文字至少要 4.5:1,大字 3:1。

Which scheme should I pick for a UI?做界面该选哪种方案?

Analogous for calm, single-brand interfaces; complementary when you need a strong accent that still feels related; monochrome when you need depth in one hue.

界面克制用邻近色;需要强强调色但仍协调用互补色;单色渐变适合在一个色相里做层次。

Are the generated colours guaranteed accessible?生成的配色一定符合无障碍要求吗?

No — the ratio is shown so you can judge. A light swatch may be perfect as a background and unusable as text; that is exactly what the readout is for.

不一定,所以才把比值显示出来让你判断。浅色块可能很适合做背景、却完全不适合当文字——这正是读数的用途。

How do I export them?怎么导出?

Press Copy CSS variables to get a :root block with --brand-1 … --brand-n, or download a PNG strip to drop into a design mock-up.

点"复制 CSS 变量"得到带 --brand-1 … --brand-n 的 :root 代码块;也可以下载 PNG 色条贴进设计稿。

Other tools其他工具

🕸️

Mermaid Diagram RendererMermaid 图表

Write Mermaid text and render flowcharts, sequence diagrams, Gan…

写 Mermaid 文本即可渲染流程图、时序图、甘特图、思维导图与 ER 图,可…

📈

Chart Generator数据图表生成

Paste CSV or JSON and get a bar, line, pie, doughnut, radar or s…

粘贴 CSV 或 JSON 数据,生成柱状图、折线图、饼图、雷达图与散点图,可下…

∑

LaTeX Formula RendererLaTeX 公式

Render LaTeX maths with KaTeX, copy the source, and start from r…

用 KaTeX 渲染 LaTeX 数学公式,复制源码,并提供常用公式模板一键套用…

Sister sites友情链接 MonkeyDev dev tools hub工具总站 FreePDFKit PDF toolsPDF 工具集 ImageToolKit image tools图片工具集 AI 咒语库 AI prompt libraryAI 提示词库 DevTools developer toolkit开发工具箱 CalcKit finance calculators财务计算器 OfficeKit office utilities办公工具箱 AIkit AI & machine learningAI 与机器学习 DataKit data & spreadsheet tools数据与表格工具 DocKit markdown & document toolsMarkdown 与文档工具