UNPKG

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