Colors
Variables
Section titled “Variables”COLORS
Section titled “COLORS”
constCOLORS:object
Defined in: packages/isaacscript-common/src/objects/colors.ts:10
A collection of common colors that can be reused.
Note that if you want to further modify these colors, you should copy them first with the
copyColor function.
The non-standard colors come from: https://htmlcolorcodes.com/color-names/
Type Declaration
Section titled “Type Declaration”
readonlyBlack:Readonly<Color>
readonlyRed:Readonly<Color>
readonlyGreen:Readonly<Color>
readonlyBlue:Readonly<Color>
Yellow
Section titled “Yellow”
readonlyYellow:Readonly<Color>
readonlyCyan:Readonly<Color>
Magenta
Section titled “Magenta”
readonlyMagenta:Readonly<Color>
readonlyWhite:Readonly<Color>
readonlyBrown:Readonly<Color>
readonlyGray:Readonly<Color>
Orange
Section titled “Orange”
readonlyOrange:Readonly<Color>
Purple
Section titled “Purple”
readonlyPurple:Readonly<Color>
