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

x/chalkpot_random_colors/deps.ts

Random colors are tools for generating attractive color, similar colors, color palettes or any random colors.
Latest
import * as chalkpotRandomColors from "https://deno.land/x/chalkpot_random_colors@1.0.0/deps.ts";

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.