Method ApplyTint
- Namespace
- DocWright.Core.Primitives
- Assembly
- DocWright.Core.dll
ApplyTint(ColorRgb, byte)
Applies a w:themeTint: luminance moves toward white in HSL space (L' = 1 − (1 − L)·tint/255); 0xFF is
identity, 0x00 is white.
public static ColorRgb ApplyTint(ColorRgb color, byte tint)
Parameters
Returns
- ColorRgb
The tinted colour.