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

x/chalkpot_colors/mod.ts>colors

Colors is JSON with the names of colors, their values and localization. Colors are based on HTML color names and CSS keywords.
Latest
variable colors
import { colors } from "https://deno.land/x/chalkpot_colors@1.0.0/mod.ts";

type

{ aliceblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; antiquewhite: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; aqua: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; aquamarine: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; azure: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; beige: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; bisque: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; black: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; blanchedalmond: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; blue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; blueviolet: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; brown: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; burlywood: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; cadetblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; chartreuse: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; chocolate: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; coral: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; cornflowerblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; cornsilk: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; crimson: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; cyan: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkcyan: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkgoldenrod: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkgray: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkgreen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkgrey: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkkhaki: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkmagenta: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkolivegreen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkorange: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkorchid: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkred: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darksalmon: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkseagreen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkslateblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkslategray: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkslategrey: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkturquoise: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; darkviolet: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; deeppink: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; deepskyblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; dimgray: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; dimgrey: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; dodgerblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; firebrick: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; floralwhite: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; forestgreen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; fuchsia: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; gainsboro: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; ghostwhite: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; gold: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; goldenrod: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; gray: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; green: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; greenyellow: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; grey: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; honeydew: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; hotpink: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; indianred: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; indigo: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; ivory: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; khaki: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lavender: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lavenderblush: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lawngreen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lemonchiffon: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightcoral: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightcyan: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightgoldenrodyellow: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightgray: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightgreen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightgrey: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightpink: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightsalmon: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightseagreen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightskyblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightslategray: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightslategrey: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightsteelblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lightyellow: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; lime: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; limegreen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; linen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; magenta: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; maroon: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; mediumaquamarine: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; mediumblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; mediumorchid: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; mediumpurple: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; mediumseagreen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; mediumslateblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; mediumspringgreen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; mediumturquoise: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; mediumvioletred: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; midnightblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; mintcream: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; mistyrose: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; moccasin: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; navajowhite: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; navy: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; oldlace: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; olive: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; olivedrab: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; orange: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; orangered: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; orchid: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; palegoldenrod: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; palegreen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; paleturquoise: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; palevioletred: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; papayawhip: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; peachpuff: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; peru: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; pink: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; plum: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; powderblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; purple: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; rebeccapurple: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; red: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; rosybrown: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; royalblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; saddlebrown: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; salmon: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; sandybrown: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; seagreen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; seashell: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; sienna: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; silver: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; skyblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; slateblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; slategray: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; slategrey: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; snow: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; springgreen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; steelblue: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; tan: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; teal: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; thistle: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; tomato: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; turquoise: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; violet: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; wheat: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; white: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; whitesmoke: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; yellow: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; yellowgreen: { name: string; hex: string; rgb: number[]; localize: (localeCode: string) => unknown; }; }