Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Rgb

import { Rgb } from "https://raw.githubusercontent.com/i-xi-dev/color.es/5.2.10/src/rgb/rgb.ts";

§Namespace

Rgb.Component

§Variables

Rgb.Component.MAX_VALUE

The maximum value of component.

Rgb.Component.MIN_VALUE

The minimum value of component.

§Functions

Rgb.Component.normalize

Normalize a component value to the range of 0 to 1.

Rgb.normalize

Normalize RGB components.

§Type Aliases

Rgb.Component

A component (r, g, or b) of RGB color.

Rgb.Normalized

A normalized RGB components.