- Home
- Skills
- Frontend & Web Apps
- oklch-palette-formula
Oklch Palette Formula
Replace dozens of hand-picked neutral hex values with an OKLCH formula driven by a few inputs, in light and dark.
$9
Works with the AI Agents you already use
About this skill
A product's neutrals (page ground, card surface, wells, hairlines and four steps of text) are usually 15 to 30 hex values per theme, picked by eye. They drift, dark mode is a second hand-picked set, and nobody knows which pairs still pass contrast.
This skill has your agent replace them with a formula: each token's lightness is a base plus a step times its position on a ladder, with one ladder per theme. Move an input and the whole ramp moves together, so the contrast gaps survive a retint. Retinting a product takes one line (--hue).
It includes a fit script that reproduces an existing palette within about ΔE 2, and a Playwright audit that checks WCAG floors in a real browser in both themes.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scanned
Verified clean today
- Passed all security checks, Safe to install