@microsoft/fast-colors > darkenViaLAB
darkenViaLAB() function
Darken a color using LAB color space
Signature:export declare function darkenViaLAB(input: ColorRGBA64, amount: number, darkenConstant?: number): ColorRGBA64;
Parameters
Parameter | Type | Description |
---|---|---|
input | ColorRGBA64 | |
amount | number | |
darkenConstant | number |
Remarks
The alpha channel of the input is ignored