color-palette-library
Skill58 starsChanged 23 days agoApache-2.0View on GitHub
500+ ready-made color palettes with contrast scores, plus OKLCH palette generation, dark-mode luminance mapping, semantic color architecture, and data-viz scales. Use when picking or generating a specific palette. For color theory and hierarchy craft, use ui-visual-design-system.
In this repository44 other files it gives its agents.
- accessibility-inclusive-designSkill
- agentic-ai-generative-uxSkill
- ai-design-generationSkill
- ai-spatial-voice-uxSkill
- ambient-calm-zero-uiSkill
- animation-recipe-librarySkill
- business-design-templatesSkill
- cognitive-psychology-uxSkill
- component-patterns-codeSkill
- conversion-optimization-patternsSkill
- cross-cultural-i18n-uxSkill
- data-visualization-masterySkill
- design-critique-case-studiesSkill
- design-memorySkill
- design-process-methodsSkill
- design-systems-architectureSkill
- design-token-presetsSkill
- desktop-app-designSkill
- figma-design-tool-workflowsSkill
- form-design-encyclopediaSkill
- icon-illustration-systemsSkill
- image-media-patternsSkill
- interaction-motion-designSkill
- layout-block-intelligenceSkill
- micro-copy-intelligenceSkill
- mobile-ux-designSkill
- navigation-pattern-encyclopediaSkill
- nng-ux-heuristicsSkill
- page-composition-engineSkill
- performance-states-patternsSkill
- platform-visual-standardsSkill
- reference-intelligenceSkill
- responsive-block-patternsSkill
- screen-flow-patternsSkill
- sector-style-intelligenceSkill
- shadow-elevation-densitySkill
- sumi-orchestratorSkill
- typography-pairing-recipesSkill
- ui-pattern-intelligenceSkill
- ui-visual-design-systemSkill
- ux-ethics-content-strategySkill
- ux-metrics-measurementSkill
- ux-research-methodsSkill
- visual-design-masterySkill
The file
Files
Color Palette Library — 500+ Curated Palettes
Mental model
Colour decisions fail in a predictable order: people pick hues first, discover the contrast is illegal, patch the lightness, and end up with a palette whose steps are uneven and whose dark mode is an inversion.
Work the other way round. Fix the lightness ramp first — it is what makes a scale usable — then set chroma, then choose hue last, because hue is the only one of the three that is purely taste.
- OKLCH, not HSL. In HSL, two colours at the same
Lcan differ in perceived brightness by a factor of three. OKLCH lightness is perceptual, so a ramp built in it looks even without hand-correction. - Chroma peaks in the middle. Hold hue, run lightness 0.98 down to 0.18, and let chroma rise toward the mid-steps and fall at both ends. Flat chroma makes the light end muddy and the dark end neon.
- Semantic names alias primitives. Components consume
--color-bg-subtle, never--color-neutral-100. This is what makes a theme swap one file. - Dark mode is not inversion. Reduce luminance, desaturate, and raise elevation with lightness rather than shadow.
Constants
Semantic token names — every reference file writes against these. The values live in the palette catalogs.
:root {
--color-bg-base; --color-bg-subtle; --color-bg-raised; --color-bg-overlay;
--color-text-strong; --color-text-default; --color-text-muted; --color-text-inverse;
--color-border-subtle; --color-border-default; --color-border-strong;
--color-brand-subtle; --color-brand-default; --color-brand-strong;
--color-success; --color-warning; --color-error; --color-info;
}Scale generation, for reading any catalog entry: hold hue, run lightness from
0.98 to 0.18 across steps 50-950, peak chroma at steps 400-600.
Index
| Need | Reference |
| Generate a scale from one brand colour | accessible-palette-generator.md |
| Check APCA / WCAG contrast properly | accessible-palette-generator.md |
| Colourblind-safe categorical series | accessible-palette-generator.md |
| A ready palette for fintech, healthcare, SaaS, e-commerce, social | industry-palette-catalog.md |
| Colour psychology by industry | industry-palette-catalog.md |
| Monochromatic, duotone, neutral+accent, jewel, pastel, neon | color-combination-recipes.md |
| Gradient recipes | color-combination-recipes.md |
| Map an existing light palette to dark | dark-mode-color-science.md |
| Elevation by lightness rather than shadow | dark-mode-color-science.md |
| How Stripe, Linear, Vercel, Notion, Figma, Shopify, GitHub do it | brand-color-systems.md |
| Extract a palette from an existing brand | brand-color-systems.md |
Reference architecture
| File | Covers | Lines |
references/industry-palette-catalog.md | 10 palettes x 10 industries | 928 |
references/color-combination-recipes.md | 12 harmony categories + gradients | 889 |
references/brand-color-systems.md | 20 real brands deconstructed | 786 |
references/dark-mode-color-science.md | inversion is wrong; what to do instead | 685 |
references/accessible-palette-generator.md | APCA, OKLCH generation, colourblind | 586 |
What every reference file contains
- The palette or recipe as OKLCH values, with hex fallbacks
- Contrast scores for every foreground/background pair that matters
- The semantic mapping — which primitive fills which semantic slot
- The dark-mode counterpart, not just the light values
- Where the combination fails, and what it should not be used for
Routing
For generating a palette — the APCA contrast algorithm, step-by-step OKLCH
generation, and colorblind-safe categorical scales: read
references/accessible-palette-generator.md.
For a ready-made palette by industry — ten each for fintech, healthcare,
SaaS, e-commerce, social and more: read references/industry-palette-catalog.md.
For combination theory — monochromatic, duotone, neutral-plus-accent, and
the rest of the twelve categories including gradients: read
references/color-combination-recipes.md.
For dark mode — why it is not inversion, luminance reduction, desaturation
rules, and elevation-by-lightness: read references/dark-mode-color-science.md.
For how real products do it — Stripe, Linear, Vercel, Notion, Figma, Shopify
and GitHub deconstructed: read references/brand-color-systems.md.
For odds and ends — the patterns that had no home in the files above when this skill was converted to a router: read references/color-supplementary.md.
Cross-References
- design-token-presets — complete token system templates by industry
- visual-design-mastery — color scoring on the 10-dimension Awwwards scale
- sector-style-intelligence — industry-specific color direction
- accessibility-inclusive-design — WCAG 2.2 + APCA compliance testing
- data-visualization-mastery — dataviz palette integration
- platform-visual-standards — iOS 26 Liquid Glass and M3 Expressive color details
- shadow-elevation-density — elevation-driven color in dark mode
- typography-pairing-recipes — text color and contrast pairing with type
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.

