@microsoft/fast-colors > ColorScale > findNextColor
ColorScale.findNextColor() method
Signature:findNextColor(position: number, contrast: number, searchDown?: boolean, interpolationMode?: ColorInterpolationSpace, contrastErrorMargin?: number, maxSearchIterations?: number): number;
Parameters
Parameter | Type | Description |
---|---|---|
position | number | |
contrast | number | |
searchDown | boolean | |
interpolationMode | ColorInterpolationSpace | |
contrastErrorMargin | number | |
maxSearchIterations | number |
number