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

x/harmony/src/utils/colorutil.ts>ColorUtil.resolveColor

An easy to use Discord API Library for Deno.
Go to Latest
method ColorUtil.resolveColor
import { ColorUtil } from "https://deno.land/x/harmony@v2.8.0/src/utils/colorutil.ts";

Resolves color by name

Parameters

optional
color: keyof Colors | "RANDOM"

The color name

Returns

number