leonardo-colors

Installation
SKILL.md

Leonardo Contrast Colors — Agent Skill

When helping users with @adobe/leonardo-contrast-colors, follow these steps. For full API details (parameters, types, setters), load references/api.md on demand.

1. Installation

npm i @adobe/leonardo-contrast-colors

ESM (recommended):

import { Theme, Color, BackgroundColor, contrast, convertColorValue, luminance, createScale } from '@adobe/leonardo-contrast-colors';

2. Creating Color and BackgroundColor

BackgroundColor

Installs
20
Repository
adobe/leonardo
GitHub Stars
2.1K
First Seen
Feb 26, 2026
leonardo-colors — adobe/leonardo