Skip to main content

deriveColor

deriveColor(color: string,gap: number,dark: boolean,newColorValue: string): string

Parameters

(Mandatory parameters are in bold)
ParametersTypeDescription
colorstring
darkboolean
gapnumberDefaults to: 100
newColorValuestring

Return

The return is of type string