# 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
- Example:
- Color Names: It's also possible to provide colors by their names directly!
- Example:
ORANGE,GREEN
- Example:
- Random: Plugging in
RANDOMwill 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:
RANDOMWhite
Typedef:
WHITEAqua
Typedef:
AQUAGreen
Typedef:
GREENBlue
Typedef:
BLUEPurple
Typedef:
PURPLELuminous Vivid Pink
Typedef:
LUMINOUS_VIVID_PINKGold
Typedef:
GOLDOrange
Typedef:
ORANGERed
Typedef:
REDGrey
Typedef:
GREYNavy
Typedef:
NAVYDark Aqua
Typedef:
DARK_AQUADark Green
Typedef:
DARK_GREENDark Blue
Typedef:
DARK_BLUEDark Purple
Typedef:
DARK_PURPLEDark Vivid Pink
Typedef:
DARK_VIVID_PINKDark Gold
Typedef:
DARK_GOLDDark Orange
Typedef:
DARK_ORANGEDark Red
Typedef:
DARK_REDDark Grey
Typedef:
DARK_GREYDarker Grey
Typedef:
DARKER_GREYLight Grey
Typedef:
LIGHT_GREYDark Navy
Typedef:
DARK_NAVYBlurple
Typedef:
BLURPLEGreyple
Typedef:
GREYPLEDark But Not Black
Typedef:
DARK_BUT_NOT_BLACK