@thi.ng/color
Version:
Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets
10 lines • 391 B
TypeScript
import type { TypedColor } from "./api.js";
/**
* Returns the (normalized) hue of given color.
*
* @remarks
* Since LCH uses different hue values than the more familiar HSV/HSL color
* wheel, LCH colors will be first converted to HSV to ensure uniform results.
*/
export declare const hue: import("@thi.ng/defmulti").MultiFn1<TypedColor<any>, number>;
//# sourceMappingURL=hue.d.ts.map