PaletteGet is an MCP server published by io.github.yang7206, hosted at paletteget-mcp.y7206062.workers.dev. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 9 tools, including list_palettes, get_palette, suggest_palette, get_css_variables, check_contrast.
Curated app, web and mini program color palettes with WCAG contrast and CSS variables.
1 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
列出配色库中的配色,可按平台(app / web / miniapp)与标签过滤。返回名称、slug、主色、场景与标签。
| Parameter | Type | Description |
|---|---|---|
| tag | string | 标签过滤,支持中英文,如 暗黑 / Dark |
| limit | number | 最多返回几条,默认 10 |
| platform | string | 平台,不填则三端都列 |
{
"name": "list_palettes",
"description": "列出配色库中的配色,可按平台(app / web / miniapp)与标签过滤。返回名称、slug、主色、场景与标签。",
"inputSchema": {
"type": "object",
"properties": {
"tag": {
"type": "string",
"description": "标签过滤,支持中英文,如 暗黑 / Dark"
},
"limit": {
"type": "number",
"description": "最多返回几条,默认 10"
},
"platform": {
"enum": [
"app",
"web",
"miniapp"
],
"type": "string",
"description": "平台,不填则三端都列"
}
}
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
取某一套配色的完整数据:角色色值(主色 / 功能色 / 中性色)、对比度、人工搭配建议。
| Parameter | Type | Description |
|---|---|---|
| slug * | string | 配色 slug,如 jing-hu-lan |
| platform | string | 平台,不填则在三端中查找该 slug |
{
"name": "get_palette",
"description": "取某一套配色的完整数据:角色色值(主色 / 功能色 / 中性色)、对比度、人工搭配建议。",
"inputSchema": {
"type": "object",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"description": "配色 slug,如 jing-hu-lan"
},
"platform": {
"enum": [
"app",
"web",
"miniapp"
],
"type": "string",
"description": "平台,不填则在三端中查找该 slug"
}
}
}
}按自然语言关键词推荐配色(中英文均可),例如「护眼的深色记账 App」「清新博客」。会说明每个结果命中了什么。
| Parameter | Type | Description |
|---|---|---|
| limit | number | 最多返回几条,默认 5 |
| query * | string | 关键词,空格分隔,如「深色 记账」 |
| platform | string | one of ["app","web","miniapp"] |
{
"name": "suggest_palette",
"description": "按自然语言关键词推荐配色(中英文均可),例如「护眼的深色记账 App」「清新博客」。会说明每个结果命中了什么。",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "number",
"description": "最多返回几条,默认 5"
},
"query": {
"type": "string",
"description": "关键词,空格分隔,如「深色 记账」"
},
"platform": {
"enum": [
"app",
"web",
"miniapp"
],
"type": "string"
}
}
}
}取一套配色的 CSS 自定义属性(可直接粘进项目),含语义化变量名。
| Parameter | Type | Description |
|---|---|---|
| slug * | string | 配色 slug |
| platform | string | one of ["app","web","miniapp"] |
{
"name": "get_css_variables",
"description": "取一套配色的 CSS 自定义属性(可直接粘进项目),含语义化变量名。",
"inputSchema": {
"type": "object",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"description": "配色 slug"
},
"platform": {
"enum": [
"app",
"web",
"miniapp"
],
"type": "string"
}
}
}
}算两个颜色之间的 WCAG 对比度,并同时给出正文级(4.5 / 7)与大字级(3 / 4.5)两套判定。适合在把配色写进代码前先验一遍。
| Parameter | Type | Description |
|---|---|---|
| background * | string | 背景色,如 #ffffff |
| foreground * | string | 前景色(通常是文字),如 #111827 |
{
"name": "check_contrast",
"description": "算两个颜色之间的 WCAG 对比度,并同时给出正文级(4.5 / 7)与大字级(3 / 4.5)两套判定。适合在把配色写进代码前先验一遍。",
"inputSchema": {
"type": "object",
"required": [
"foreground",
"background"
],
"properties": {
"background": {
"type": "string",
"description": "背景色,如 #ffffff"
},
"foreground": {
"type": "string",
"description": "前景色(通常是文字),如 #111827"
}
}
}
}给一个背景色,返回一组可读的文字色候选(同色相的极浅与极深版 + 纯黑白参照),按对比度降序,标出推荐项与 AA / AAA 判定。
| Parameter | Type | Description |
|---|---|---|
| limit | number | 最多返回几个,默认 6 |
| background * | string | 背景色,如 #1f5f5b |
{
"name": "suggest_text_color",
"description": "给一个背景色,返回一组可读的文字色候选(同色相的极浅与极深版 + 纯黑白参照),按对比度降序,标出推荐项与 AA / AAA 判定。",
"inputSchema": {
"type": "object",
"required": [
"background"
],
"properties": {
"limit": {
"type": "number",
"description": "最多返回几个,默认 6"
},
"background": {
"type": "string",
"description": "背景色,如 #1f5f5b"
}
}
}
}取一套配色的可直接粘贴代码片段,按目标平台生成:Android colors.xml、iOS UIColor、Flutter Color、小程序 wxss、CSS 变量、SCSS 变量、Tailwind 配置。
| Parameter | Type | Description |
|---|---|---|
| lang | string | 角色文案语言,默认 zh |
| slug * | string | 配色 slug,如 mo-lan-ye |
| target * | string | 目标格式:android / ios / flutter / wxss / css / scss / tailwind |
| platform | string | one of ["app","web","miniapp"] |
{
"name": "get_platform_snippet",
"description": "取一套配色的可直接粘贴代码片段,按目标平台生成:Android colors.xml、iOS UIColor、Flutter Color、小程序 wxss、CSS 变量、SCSS 变量、Tailwind 配置。",
"inputSchema": {
"type": "object",
"required": [
"slug",
"target"
],
"properties": {
"lang": {
"enum": [
"zh",
"en"
],
"type": "string",
"description": "角色文案语言,默认 zh"
},
"slug": {
"type": "string",
"description": "配色 slug,如 mo-lan-ye"
},
"target": {
"enum": [
"android",
"ios",
"flutter",
"wxss",
"css",
"scss",
"tailwind"
],
"type": "string",
"description": "目标格式:android / ios / flutter / wxss / css / scss / tailwind"
},
"platform": {
"enum": [
"app",
"web",
"miniapp"
],
"type": "string"
}
}
}
}从一个基准色生成 50 到 900 的 10 级色阶(500 等于基准色本身),每阶附白字与黑字的实测对比度;format 可取 list / json / css / tailwind。
| Parameter | Type | Description |
|---|---|---|
| color * | string | 基准色,如 #4c8df6 |
| format | string | 输出形态,默认 list |
{
"name": "get_color_scale",
"description": "从一个基准色生成 50 到 900 的 10 级色阶(500 等于基准色本身),每阶附白字与黑字的实测对比度;format 可取 list / json / css / tailwind。",
"inputSchema": {
"type": "object",
"required": [
"color"
],
"properties": {
"color": {
"type": "string",
"description": "基准色,如 #4c8df6"
},
"format": {
"enum": [
"list",
"json",
"css",
"tailwind"
],
"type": "string",
"description": "输出形态,默认 list"
}
}
}
}把一套浅色配色推导成深色版本:按固定规则重排明度与饱和度,并返回每对颜色的实测对比度。可用 slug 取库里配色,也可直接传 roles。
| Parameter | Type | Description |
|---|---|---|
| slug | string | 配色 slug,如 jing-hu-lan |
| roles | object | 直接传角色色值,如 {"bg":"#faf8f2","text":"#2b2b2b","primary":"#1989ea"};与 slug 二选一 |
| platform | string | one of ["app","web","miniapp"] |
{
"name": "darken_palette",
"description": "把一套浅色配色推导成深色版本:按固定规则重排明度与饱和度,并返回每对颜色的实测对比度。可用 slug 取库里配色,也可直接传 roles。",
"inputSchema": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "配色 slug,如 jing-hu-lan"
},
"roles": {
"type": "object",
"description": "直接传角色色值,如 {\"bg\":\"#faf8f2\",\"text\":\"#2b2b2b\",\"primary\":\"#1989ea\"};与 slug 二选一"
},
"platform": {
"enum": [
"app",
"web",
"miniapp"
],
"type": "string"
}
}
}
}PaletteGet is a library of WCAG-checked color palettes for App / Web / Mini App UIs. Use suggest_palette for natural-language recommendations, get_palette for exact role hex values, get_css_variables for ready-to-paste CSS custom properties, check_contrast for a WCAG verdict on any two colors, suggest_text_color for readable text on a known background, darken_palette to derive a dark-mode version of a light palette, and get_platform_snippet for paste-ready Android, iOS, Flutter, mini program, CSS, SCSS or Tailwind output, and get_color_scale to expand one brand color into a 50 to 900 scale.
Names, descriptions and schemas were written by the server and are shown as data.