# Colors

The Chariot.js RichEmbed Builder accepts a number of different color resolvables for the .setColor() method.

# Numbers

Any valid JavaScript Number in hexadecimal or decimal will work and can be resolved by Chariot.js. For example 0xFF9185

# Strings

There's numerous ways Chariot.js can resolve a color from a string:

  • Hexadecimal Strings: Classic representation known from e.g. CSS or HTML
    • Example: #FF0000, #8ABB9A
  • Color Names: It's also possible to provide colors by their names directly!
    • Example: ORANGE, GREEN
  • Random: Plugging in RANDOM will tell Chariot.js to generate a random color every time

# Color reference for String color resolvable

Hovering over the color's name will show the exact hexadecimal color code.

Random

Typedef: RANDOM

White

Typedef: WHITE

Aqua

Typedef: AQUA

Green

Typedef: GREEN

Blue

Typedef: BLUE

Purple

Typedef: PURPLE

Luminous Vivid Pink

Typedef: LUMINOUS_VIVID_PINK

Gold

Typedef: GOLD

Orange

Typedef: ORANGE

Red

Typedef: RED

Grey

Typedef: GREY

Navy

Typedef: NAVY

Dark Aqua

Typedef: DARK_AQUA

Dark Green

Typedef: DARK_GREEN

Dark Blue

Typedef: DARK_BLUE

Dark Purple

Typedef: DARK_PURPLE

Dark Vivid Pink

Typedef: DARK_VIVID_PINK

Dark Gold

Typedef: DARK_GOLD

Dark Orange

Typedef: DARK_ORANGE

Dark Red

Typedef: DARK_RED

Dark Grey

Typedef: DARK_GREY

Darker Grey

Typedef: DARKER_GREY

Light Grey

Typedef: LIGHT_GREY

Dark Navy

Typedef: DARK_NAVY

Blurple

Typedef: BLURPLE

Greyple

Typedef: GREYPLE

Dark But Not Black

Typedef: DARK_BUT_NOT_BLACK