KColors
Variables
Section titled “Variables”K_COLORS
Section titled “K_COLORS”
constK_COLORS:object
Defined in: packages/isaacscript-common/src/objects/kColors.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<KColor>
readonlyRed:Readonly<KColor>
readonlyGreen:Readonly<KColor>
readonlyBlue:Readonly<KColor>
Yellow
Section titled “Yellow”
readonlyYellow:Readonly<KColor>
readonlyCyan:Readonly<KColor>
Magenta
Section titled “Magenta”
readonlyMagenta:Readonly<KColor>
readonlyWhite:Readonly<KColor>
Transparent
Section titled “Transparent”
readonlyTransparent:Readonly<KColor>
readonlyBrown:Readonly<KColor>
readonlyGray:Readonly<KColor>
Orange
Section titled “Orange”
readonlyOrange:Readonly<KColor>
Purple
Section titled “Purple”
readonlyPurple:Readonly<KColor>
