@thi.ng/color
Version:
Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets
11 lines • 413 B
TypeScript
import type { Color, Hue } from "../api.js";
/**
* Converts a normalized hue to RGBA with given optional `alpha`
* value (default: 1).
*
* @param out - result
* @param hue - normalized hue
*/
export declare const hueRgb: (out: Color | null, hue: number, alpha?: number) => Color;
export declare const namedHueRgb: (out: Color | null, hue: Hue, alpha?: number) => Color;
//# sourceMappingURL=hue-rgb.d.ts.map