god-color
Skill0 starsChanged 2 months agoMITView on GitHub
Color theory and palette engineering - harmony schemes, 60-30-10, OKLCH scales, semantic color roles, dark mode, WCAG contrast math, color-blind safety, cultural color meanings, gradients and print vs screen color. Use when choosing, fixing or explaining colors, building a palette from a brand color, or checking contrast.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- god-accessibilitySkill
- god-anti-slopSkill
- god-brandingSkill
- god-datavizSkill
- god-imagegenSkill
- god-layoutSkill
- god-mobileSkill
- god-motionSkill
- god-of-designSkill
- god-outputSkill
- god-presentationsSkill
- god-printSkill
- god-reviewSkill
- god-social-mediaSkill
- god-stylesSkill
- god-tokensSkill
- god-typographySkill
- god-ui-uxSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Build scales in OKLCH: Use 11 steps (50–950) per hue with steady lightness steps and slightly reduced chroma at the extremes.
- Very specific: line 19
Assign roles: Use bg, surface, surface-raised, border, text, text-muted, accent, accent-contrast, success, warning, danger, info, focus.
- Very specific: line 21
Design dark mode separately: Don't just invert. Use dark grey surfaces (oklch(0.18–0.22 …)), lighter surfaces for elevation, desaturated …
- Distinctive: line 22
Test colour-blind safety: Never encode meaning by hue alone.
- Distinctive: line 51
Use close hues (≤ 60° apart) or one hue + neutral.
- Distinctive: line 52
Add 2–4% noise to prevent banding on large areas.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
God Color
Procedure
- Start from meaning, not from a wheel. What should the colour do: signal trust, appetite, energy, calm, heritage? Check cultural meaning for the audience (
references/color-reference.md, cultural table). - Pick an anchor. Choose one brand or accent hue. Everything else is neutral or supporting.
- Choose a harmony (see below) and a proportion: the 60-30-10 rule (dominant neutral / secondary / accent) is a safe default. Bold styles may use 50-40-10.
- Build scales in OKLCH. Use 11 steps (50–950) per hue with steady lightness steps and slightly reduced chroma at the extremes. OKLCH keeps perceived lightness consistent across hues, unlike HSL.
- Assign roles. Use
bg,surface,surface-raised,border,text,text-muted,accent,accent-contrast,success,warning,danger,info,focus. Components use roles, never raw hex. - Check contrast. Text ≥ 4.5:1 (large text ≥ 18.66px bold / 24px regular: ≥ 3:1). UI components and graphics ≥ 3:1 (WCAG 1.4.3, 1.4.11). Use the formula in the reference, or run
node scripts/contrast.mjs <fg> <bg>(path relative to this skill folder). - Design dark mode separately. Don't just invert. Use dark grey surfaces (
oklch(0.18–0.22 …)), lighter surfaces for elevation, desaturated accents, and off-white text (oklch(0.93 0 0)). - Test colour-blind safety. Never encode meaning by hue alone. Add icons, labels or patterns. Avoid pairing red and green as the only cue.
Harmony schemes
| Scheme | Construction | Feel | Use |
| Monochromatic | One hue, varied L/C | Calm, premium | Minimal brands, dashboards |
| Analogous | 3 neighbours (±30°) | Harmonious, natural | Wellness, food |
| Complementary | Opposite (180°) | Vibrant, high tension | CTAs, sports, posters |
| Split-complementary | Base + two neighbours of its complement | Lively but balanced | Marketing sites |
| Triadic | 3 at 120° | Playful, bold | Kids, Bauhaus, Memphis |
| Tetradic / square | 4 at 90° | Rich, hard to balance | Illustration |
| Neutral + one accent | Greys + single hue | Modern, focused | SaaS, Swiss, editorial |
Fast palette recipe (from one brand hex)
accent = brand hex (OKLCH L between 0.45 and 0.65 for text-on-white or white-on-accent)
bg = oklch(0.985 0.005 <brand hue>) # tinted off-white
surface = oklch(0.97 0.007 <hue>)
border = oklch(0.90 0.01 <hue>)
text = oklch(0.22 0.02 <hue>) # tinted near-black; no pure #000 on #fff
text-muted = oklch(0.48 0.02 <hue>) # must still hit 4.5:1 on bg
accent-contrast = white or text, whichever passes 4.5:1 on accentGradients that don't look generic
- Interpolate in OKLCH (
linear-gradient(in oklch, …)) to avoid muddy middles. - Use close hues (≤ 60° apart) or one hue + neutral. Default purple→blue→pink reads as AI slop.
- Add 2–4% noise to prevent banding on large areas.
Screen vs print
- Screen: sRGB by default. Display-P3 for vivid accents via
color(display-p3 …)with an sRGB fallback. - Print: CMYK conversion shifts saturated RGB (especially greens, blues and oranges). Specify Pantone/CMYK for brand colours. Rich black for large areas
C60 M40 Y40 K100; body text 100K only. Seegod-print.
See references/color-reference.md for contrast math, OKLCH ramps, curated palettes, cultural colour meanings and colour-blind-safe sets.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

