Oklab Chroma Scale
color scale
type:
A decision to define a chroma scale for Oklab colors.color-oklab-chroma-scale
Models
The following models can be used to produce a Oklab Chroma Scale decision.
Explicit value
Defines a Oklab chroma scale with arbitrary percentage values.Sample decision
Oklab Chroma Scale Explicit Sample
0.05
0.1
0.15
Sample data
{ "name": "Oklab Chroma Scale Explicit Sample", "model": "color-oklab-chroma-scale/explicit", "params": { "values": [ 0.05, 0.1, 0.15 ] }}
🐘 Help wanted:
Documenting schemas
Bounded
Defines a Oklab chroma scale interpolating linearly between two chroma values.Sample decision
Oklab Chroma Scale Bounded Sample
0.05
0.081
0.113
0.144
0.175
0.206
0.238
0.269
0.3
Sample data
{ "name": "Oklab Chroma Scale Bounded Sample", "model": "color-oklab-chroma-scale/bounded", "params": { "from": 0.05, "to": 0.3, "steps": 7 }}
🐘 Help wanted:
Documenting schemas
Anchored
Defines a Oklab chroma scale from an anchor value applying modifiers to generate items before and/or after the anchor .Sample decision
Oklab Chroma Scale Anchored Sample
0.05
0.075
0.1
0.15
0.2
0.25
Sample data
{ "name": "Oklab Chroma Scale Anchored Sample", "model": "color-oklab-chroma-scale/anchored", "params": { "anchor": 0.1, "before": { "steps": 2, "modifier": { "mode": "linear", "by": -0.025 } }, "after": { "steps": 3, "modifier": { "mode": "linear", "by": 0.05 } } }}