sRGB Lightness Scale
color scale
type:
A decision to define a lightness scale for sRGB colors.color-srgb-lightness-scale
Models
The following models can be used to produce a sRGB Lightness Scale decision.
Explicit value
Defines a sRGB lightness scale with arbitrary percentage values.Sample decision
sRGB Lightness Scale Explicit Sample
0.97
0.91
0.83
Sample data
{ "name": "sRGB Lightness Scale Explicit Sample", "model": "color-srgb-lightness-scale/explicit", "params": { "values": [ 0.97, 0.91, 0.83 ] }}
🐘 Help wanted:
Documenting schemas
Bounded
Defines a sRGB lightness scale interpolating linearly between two lightness values.Sample decision
sRGB Lightness Scale Bounded Sample
0.85
0.775
0.7
0.625
0.55
0.475
0.4
0.325
0.25
Sample data
{ "name": "sRGB Lightness Scale Bounded Sample", "model": "color-srgb-lightness-scale/bounded", "params": { "from": 0.85, "to": 0.25, "steps": 7 }}
🐘 Help wanted:
Documenting schemas
Anchored
Defines a sRGB lightness scale from an anchor value applying modifiers to generate items before and/or after the anchor .Sample decision
sRGB Lightness Scale Anchored Sample
0.1
0.2
0.3
0.4
0.5
0.7
0.9
1
1
Sample data
{ "name": "sRGB Lightness Scale Anchored Sample", "model": "color-srgb-lightness-scale/anchored", "params": { "anchor": 0.5, "before": { "steps": 4, "modifier": { "mode": "linear", "by": -0.1 } }, "after": { "steps": 4, "modifier": { "mode": "linear", "by": 0.2 } } }}