UNPKG

335 BTypeScriptView Raw
1import type { IColor } from './interfaces';
2/**
3 * Gets a color with the same hue as `color` and other components updated to match the given
4 * saturation and value.
5 *
6 * Does not modify the original `color` and does not supply a default alpha value.
7 */
8export declare function updateSV(color: IColor, s: number, v: number): IColor;