UNPKG

@nfdi4plants/swate-components

Version:

Customizable React components for ontology annotation, based on Swate and the ARC.

9 lines 680 B
import { int32, float64 } from '@fable-org/fable-library-js/Int32.js'; /** * Creates a color from components [hue](https://en.wikipedia.org/wiki/Hue), [saturation](https://en.wikipedia.org/wiki/Colorfulness) and [lightness](https://en.wikipedia.org/wiki/Lightness) where hue is a number that goes from 0 to 360 and both * the `saturation` and `lightness` go from 0 to 100 as they are percentages. */ export declare function hsl(hue: float64, saturation: float64, lightness: float64): string; export declare function rgb(r: int32, g: int32, b: int32): string; export declare function rgba<$a>(r: int32, g: int32, b: int32, a: $a): string; //# sourceMappingURL=Colors.fs.d.ts.map