Practical Color, OKLCH & Accessibility Guides
Learn how to keep text readable over a photo, fix a muddy gradient, repair a palette file or carry a color token from CSS into an app. Each guide includes a worked example or a tool to try.
Hex to OKLCH: Migrating Design Tokens to Tailwind CSS v4
Step-by-step guide to upgrading Hex and HSL Tailwind v3 themes into CSS Color 4 @theme oklch() scales with perceptual brightness and Display P3 support.
OKLCH vs HSL vs sRGB: Understanding Wide-Gamut Display P3
Compare HSL, sRGB Hex, Display P3, and OKLCH across perceptual lightness, gradient dead zones, gamut volume, and CSS progressive enhancement.
#E11D48WCAG 2.2 Contrast Ratio vs APCA (Lc): Complete Color Guide
Compare WCAG 2.2 relative luminance ratios (4.5:1) against modern APCA perceptual lightness contrast (Lc 60/75/90), dark-mode polarity, and CVD.
#F97316W3C Design Tokens (DTCG 2025.10): Figma Variables to CSS
Structure vendor-neutral color tokens with W3C DTCG 2025.10 JSON ($type, $value colorSpace & components), aliases, and export to CSS & Tailwind v4.
#2563EBConverting Adobe .ASE, .ACO, Procreate .swatches & GIMP .gpl
Learn the binary differences between Adobe .ase, Photoshop .aco, Procreate .swatches ZIP, and GIMP .gpl — and convert between them locally in the browser.
Recoloring SVGs & Generating Exact Dark-Mode CSS Filters
Batch-recolor multi-path SVG icons without broken strokes, or compute exact brightness/sepia/hue-rotate CSS filters for img tags in dark mode.
#000000#2563EBCMYK Ink Profiles, RAL Classic & Spot Approximations in Print
Why naive 1-max(R,G,B) CMYK fails commercial printing, Coated FOGRA39 vs US SWOP v2 profiles, RAL Classic architectural codes, and Delta-E QA.
#00FF66#3B82F6#2563EBZero-Server Browser Color Processing: Privacy & Architecture
How Colr executes Canvas quantization, CSS rewriting, and binary .ase/.aco/.cube parsing 100% inside local browser RAM with zero file transfers.
Convert CSS hex alpha to Android ARGB
Move the alpha byte from the end of a CSS hex color to the front of an Android color resource. Check the result with a translucent blue test swatch.
Check text contrast over a background image
Measure text contrast over a background image at the weakest point behind the letters. Test a new crop and choose a backing color when a photo varies.
Fix a muddy CSS gradient midpoint
Compare a CSS gradient midpoint in sRGB, OKLab and OKLCH using the same two stops. Choose a hue path or add a middle stop to control the transition.
#808080#FF9800Repair a GIMP GPL palette that imports empty
Repair a GIMP GPL palette by checking its header and RGB rows. Use a two-swatch reference file to isolate missing colors and verify the imported values.
#2563EB#FFFFFFChoose accessible line chart colors
Choose accessible line chart colors and pair them with labels, markers and dash patterns so readers can follow each series through a crossing.
One swatch in RGB, HSL, HSV, HWB and OKLab
Use #336699 as a reference to check a color picker, a CSS declaration or a shader. Compare the same swatch in eight notations and find where round-trip errors start.