UNPKG

isaacscript-common

Version:

Helper functions and features for IsaacScript mods.

27 lines (26 loc) 736 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.COLORS = void 0; /** * 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/ */ exports.COLORS = { Black: Color(0, 0, 0), Red: Color(1, 0, 0), Green: Color(0, 1, 0), Blue: Color(0, 0, 1), Yellow: Color(1, 1, 0), Cyan: Color(0, 1, 1), Magenta: Color(1, 0, 1), White: Color(1, 1, 1), Brown: Color(0.588, 0.294, 0), Gray: Color(0.5, 0.5, 0.5), Orange: Color(1, 0.647, 0), Purple: Color(0.5, 0, 0.5), };