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.
Go to Latest
import * as chalkpotColor from "https://deno.land/x/chalkpot_color@1.1.0/mod.ts";

Color is a tool for creating RGB color by range and by HSL without leaving RGB space. With additional tools, unlimited development and no dependencies.

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.

Functions

Example

Example

Example

Example

Example

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.