Skip to content

KColors

const K_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/

readonly Black: Readonly<KColor>

readonly Red: Readonly<KColor>

readonly Green: Readonly<KColor>

readonly Blue: Readonly<KColor>

readonly Yellow: Readonly<KColor>

readonly Cyan: Readonly<KColor>

readonly Magenta: Readonly<KColor>

readonly White: Readonly<KColor>

readonly Transparent: Readonly<KColor>

readonly Brown: Readonly<KColor>

readonly Gray: Readonly<KColor>

readonly Orange: Readonly<KColor>

readonly Purple: Readonly<KColor>