ChromaMath

Advanced OKLCH Algorithm Engine

Base Color Space (OKLCH)

{{ baseHex }} {{ baseCssColor }}

Extract from Image

Upload or capture an area to set the base color.

Tap/Drag for color

Perceived Lightness (OKLCH L)
Threshold Controls
Sidebar source

Link Harmony
{{ isHarmonyConnected ? 'Connected' : 'Detached' }}

{{ isHarmonyConnected ? 'Moving any color shifts the entire harmony.' : 'Adjust individual colors without affecting others.' }}

Generated Palette Matrix

Click any color swatch to manually fine-tune it.

Fine-Tuning Color {{ selectedSwatchIndex + 1 }}

Focal
{{ (item.proportion ?? 0).toFixed(1) }}%
Lc {{ (item.contrastRatio ?? 0).toFixed(1) }} APCA (vs W)
{{ item.hex }}

Proportional Area Distribution

Mathematical representation of compositional weight.

Tonal Range Analysis (L)

Spread of perceived lightness across the palette.

Chroma Range Analysis (C)

Spread of color intensity (saturation) across the palette.

OKLCH Spatial Distribution (3D)

Geometry of Lightness (Y-axis), Chroma (Radius), and Hue (Angle).

High-Precision Extractor

Perform detailed color extraction on the enlarged view.

Threshold Controls
Expanded source

Export & Share

"{{ aiPrompt }}"

Optimized for Midjourney, DALL-E, and cinematic AI generation.

Palette Canvas Studio

Paint with your three palette colours and watch the pixel distribution update live.

SVGs will be converted to the active color.

Target
{{ col.hex }} {{ canvasPixelStats[i].toFixed(1) }}%
Composition AI Prompt

"{{ canvasAiPrompt }}"

Save Image

iPhone/iPad User: Long-press the image below and select "Save to Photos".

Download Preview