{
  "id": "oklch-gradient",
  "name": "OKLCH Gradient",
  "category": "gradients",
  "tags": [
    "color space",
    "interpolation",
    "vivid",
    "no gray",
    "modern"
  ],
  "description": "A gradient interpolated in OKLCH so the middle stays bright and saturated instead of going gray.",
  "url": "https://copy-css.com/snippets/oklch-gradient",
  "markdown": "https://copy-css.com/snippets/oklch-gradient.md",
  "html": "<div class=\"gradient-oklch\"></div>",
  "css": ".gradient-oklch {\n  /* Fallback for older browsers */\n  background: linear-gradient(90deg, #ec4899, #06b6d4);\n  /* Mixing in OKLCH avoids the muddy middle of sRGB gradients */\n  background: linear-gradient(90deg in oklch, #ec4899, #06b6d4);\n}",
  "features": [
    "linear gradients"
  ],
  "customProperties": []
}
