Blue import type {Blue} from '@fuzdev/fuz_util/colors.js'; 21 declarations
Blue import type {Blue} from '@fuzdev/fuz_util/colors.js'; Green import type {Green} from '@fuzdev/fuz_util/colors.js'; (hex: string): Hsl import {hex_string_to_hsl} from '@fuzdev/fuz_util/colors.js'; hexstringHsl (hex: string): Rgb import {hex_string_to_rgb} from '@fuzdev/fuz_util/colors.js'; hexstringRgb (hex: number): Rgb import {hex_to_rgb} from '@fuzdev/fuz_util/colors.js'; Converts a hex color to an RGB color.
hexnumberRgb Hsl import type {Hsl} from '@fuzdev/fuz_util/colors.js'; (h: Hue, s: Saturation, l: Lightness): number import {hsl_to_hex} from '@fuzdev/fuz_util/colors.js'; hslnumber (h: Hue, s: Saturation, l: Lightness): string import {hsl_to_hex_string} from '@fuzdev/fuz_util/colors.js'; hslstring (h: Hue, s: Saturation, l: Lightness): Rgb import {hsl_to_rgb} from '@fuzdev/fuz_util/colors.js'; Converts an HSL color value to RGB. Conversion formula adapted from http://wikipedia.org/wiki/HSL_color_space. Values h/s/l are in the range [0,1] and returns r/g/b in the range [0,255].
hslRgb (h: Hue, s: Saturation, l: Lightness): string import {hsl_to_string} from '@fuzdev/fuz_util/colors.js'; hslstring Hue import type {Hue} from '@fuzdev/fuz_util/colors.js'; (p: number, q: number, t: number): number import {hue_to_rgb_component} from '@fuzdev/fuz_util/colors.js'; pnumberqnumbertnumbernumber Lightness import type {Lightness} from '@fuzdev/fuz_util/colors.js'; (hsl: string): Hsl import {parse_hsl_string} from '@fuzdev/fuz_util/colors.js'; hslstringHsl Red import type {Red} from '@fuzdev/fuz_util/colors.js'; Rgb import type {Rgb} from '@fuzdev/fuz_util/colors.js'; (r: number, g: number, b: number): number import {rgb_to_hex} from '@fuzdev/fuz_util/colors.js'; Converts an RGB color to a hex color.
rnumbergnumberbnumbernumber (r: number, g: number, b: number): string import {rgb_to_hex_string} from '@fuzdev/fuz_util/colors.js'; rnumbergnumberbnumberstring (r: number, g: number, b: number): Hsl import {rgb_to_hsl} from '@fuzdev/fuz_util/colors.js'; Converts an RGB color value to HSL. Conversion formula adapted from http://wikipedia.org/wiki/HSL_color_space. Values r/g/b are in the range [0,255] and returns h/s/l in the range [0,1].
rnumbergnumberbnumberHsl Saturation import type {Saturation} from '@fuzdev/fuz_util/colors.js'; (v: number): string import {to_hex_component} from '@fuzdev/fuz_util/colors.js'; vnumberstring