Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Converting and checking colours in OKLCH v1.0.0

Use this resource to convert, generate and check colours in OKLCH

New

  • 443 downloads
  • 153 likes
  • 191 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install oklch-color-palettes-contrast

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent converts hex, rgb or hsl colours to OKLCH, generates palettes and dark modes, checks contrast and handles gamut limits, including Display P3, for design tokens and a Tailwind v4 theme. It flags hue drift and excessive chroma.

Mostly picked by

Updated November 2, 2026

Card for the “Converting and checking colours in OKLCH” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: conversion, syntax and common mistakes
  • palette-generation.md: palette and dark-mode generation
  • accessibility-contrast.md: contrast checks

Good fit for

  • Your blue palette shifts toward purple in light mode
  • You want a dark mode that matches your colours

Not for

    Tags

    • oklch
    • colors
    • palette
    • contrast
    • tailwind

    About

    You say

    “Convert this hex palette to OKLCH and check the text contrast against the background.”

    Card for the “Converting and checking colours in OKLCH” skill

    Skill published by jakubkrehel under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to convert, generate and check colours in OKLCH
    3. Review and adjust the result

    Content preview

    Files

    • accessibility-contrast.md2.9 KB
    • color-conversion.md1.6 KB
    • gamut-and-tailwind.md2.5 KB
    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • palette-generation.md3.1 KB
    • SKILL.md4.8 KB

    Origin and licence

    Listed unmodified

    Author
    jakubkrehel
    Source
    github.com/jakubkrehel/oklch-skill/tree/0e81f040e16d48fcc61d3e1b7ea548542371321f/skills/oklch-skill
    Licence
    MIT

    Notice

    « oklch-skill » (jakubkrehel, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.