Better Colors
OKLCH color space and color usage for web projects. Convert hex/rgb/hsl to oklch, generate palettes, check contrast, handle gamut boundaries, theme with Tailwind v4, and apply color with meaning. Triggers on oklch, color conversion, palette generation, contrast ratio, gamut, display p3, design tokens, semantic color tokens, hue drift, chroma, dark mode colors, accent color, color meaning, light and dark appearance, increased contrast.
- Type
- Skill
- Author
- jakubkrehel
- Category
- Design
- GitHub stars
- 8.7K
- Installs
- 33.2K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/jakubkrehel/skills --skill better-colorsUse cases
- Convert hex, RGB, or HSL values to OKLCH for a design token set.
- Generate a color palette and check contrast ratios before shipping a theme.
- Define semantic color tokens with dark mode and increased-contrast variants.
Frequently Asked Questions
What does this skill cover beyond color conversion?
Palette generation, contrast checks, gamut boundaries, hue drift, chroma, and semantic color tokens.
Does it support Tailwind v4 theming?
Yes, theming with Tailwind v4 is part of the skill's scope.
What is gamut handling used for here?
The skill covers gamut boundaries and display P3 so colors stay within a displayable range.
About this skill
Covers OKLCH color space and practical color usage for web projects, including hex/RGB/HSL conversion, palette generation, contrast checks, gamut boundaries, and Tailwind v4 theming. It also addresses semantic color tokens, hue drift, chroma, dark mode, and increased-contrast appearance. Aimed at frontend developers who want colors chosen with meaning rather than picked by eye.
Summary written with AI assistance from the project's public description.
Categories
More from jakubkrehel
Make Interfaces Feel Better
Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animation...
by jakubkrehel
Better Ui
Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animation...
by jakubkrehel
Better Typography
Web typography from choosing fonts to spacing, wrapping and accessibility. Use when picking or pairing typefaces, configuring variable fonts or Ope...
by jakubkrehel
Skills
Agent skills for building great product interfaces, from typography and color to accessibility and UX writing.
by jakubkrehel
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh