Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/chalkpot_color/mod.ts

Color is a tool for creating RGB color by range and by HSL without leaving RGB space.
Latest
import * as chalkpotColor from "https://deno.land/x/chalkpot_color@3.1.0/mod.ts";

Color is a tool for creating RGB color by range and by HSL without leaving RGB space.

Classes

AdvancedColor is an advanced [RGB] color. Like regular Color, it mimics the [HSL] model.

[Color] contains the components, red, green, blue.

[ColorComponent] can be red, green or blue, being the lightness of that color.

Type Aliases

The alias describing three colors is [RGB], each of which is a component.

The alias describing three colors is [RGBA], each of which is a component.