Better Colors (OKLCH)
Transforms web color workflows using the perceptually uniform OKLCH color space for accessible palettes, stable hues, and seamless Tailwind CSS v4 theming.
Better Colors equips Claude with advanced OKLCH color space capabilities to eliminate common CSS color pitfalls like hue drift, erratic lightness steps, and failing contrast ratios. It enables accurate conversions from legacy hex, RGB, and HSL formats into OKLCH, generates perceptually uniform color ramps and multi-hue design tokens, verifies APCA and WCAG contrast compliance, and manages wide-gamut Display P3 fallbacks alongside modern Tailwind CSS v4 @theme configurations.
Características Principales
01Generates perceptually uniform color scales and dark mode palettes without hue drift
02Evaluates and fixes accessibility contrast issues using APCA and WCAG standards
03Manages Display P3 wide-gamut boundaries with reliable sRGB fallbacks
04Configures modern design tokens and color themes tailored for Tailwind CSS v4
050 GitHub stars
06Converts legacy hex, RGB, and HSL color values into accurate OKLCH syntax
Casos de Uso
01Modernizing legacy CSS or Tailwind color definitions to OKLCH design tokens
02Creating mathematically consistent multi-hue color systems with balanced chroma levels
03Auditing and fixing contrast accessibility issues across light and dark theme palettes