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

x/chalkpot_colors/locales/locale/mod.ts>localizeColor

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

Parameters

colorName: string
localeCode: string

Returns

string | undefined