import { Color } from "https://deno.land/x/chalkpot_color@3.1.0/color.ts";
Color contains the components, red, green, blue.
Example
const red = new Color(false, 255, 0, 0)
const blue = new Color(true, 0, 0, 100);
Percentage. Use percentages instead of component range, if true.
Constructors
new
Color(percentage?: boolean, ...components: Rgb)Methods
private
rgbPercent(...components: Rgb): Rgb