Modifier.Luminance
ModifierLightens or darkens a colour. Negative percentages move the Oklab lightness towards black by that fraction, positive ones move it towards white.
Constructors
Properties
Dependencies
Gets the properties this modifier reads besides the value it modifies. Most modifiers read none; a mix towards another property reads that one.
Methods
ToString
Overrides: Object.ToString
WithoutReferences
A copy of this modifier with every property reference replaced by the colour it resolves to right now, so the modifier can be applied without a definition at hand. Modifiers without references return themselves.
Parameters:
| resolve (Func<PropertyId, SkinValue>) |