Skip to content
Back to skills

Zt Color Science

ASecurity

Color science: production-level linear sRGB, Oklab, OKLCH gamut mapping. Use when implementing, reviewing or testing color science for React, Vite, Next.js or Perfect_AI projects.

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
designrustreactnextjstestingapibackendperformance

Works with

  • api

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add Realjustawall/Perfect-AI --skill zt-color-science --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Zt Color Science?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Zt Color Science
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/realjustawall-zt-color-science/badge)](https://www.skillsdirectory.com/skills/realjustawall-zt-color-science)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: zt-color-science
description: Color science: production-level linear sRGB, Oklab, OKLCH gamut mapping. Use when implementing, reviewing or testing color science for React, Vite, Next.js or Perfect_AI projects.
---

# Color science

## When to activate
Use on tasks involving **linear sRGB, Oklab, OKLCH gamut mapping**. For unrelated backend tasks do not load this skill.

## Implementation sequence
1. Write a design intent brief describing emotion, audience, trust requirement, content density, language and device.
2. Select structured palette: background/surface/foreground/secondary/accent/semantic/focus/chart.
3. Prefer OKLCH for ramp design, then gamut map to sRGB and compute WCAG contrast using linear sRGB.
4. Reject palette if body/foreground contrast fails, or if hue is sole meaning encoder; check all interaction states.
5. Ship CSS tokens, Figma-equivalent definitions, usage restrictions and screenshots in light/dark.

## Task-specific requirements
- Scope: **linear sRGB, Oklab, OKLCH gamut mapping**. Design the full execution path, not a screenshot placeholder.
- Identify dependency version and actual supported API signature; avoid inventing APIs.
- Use original code, or install licensed upstream through its maintained tool if the user wants upstream code.
- Choose measurable states, error handling, accessibility and performance budgets.

## Implementation starter
**Implementation notes:** Model linear sRGB, Oklab, OKLCH gamut mapping as explicit states, define input/output props and independent cleanup. Read master reference(s) below before writing code.


## Evidence / acceptance
- Document chosen semantic role palette and contrast table; fail visibly if accessibility thresholds are unmet.
- Test common, edge, interrupted, accessibility and responsive states; provide concrete artifacts/evidence.

## Deep references
- `../perfect-ai-master/references/03-color-theory.md`
- `../perfect-ai-master/references/18-color-decision-engine.md`
- `../perfect-ai-master/references/19-design-matrix.md`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.