A simple CG module providing hex, hex string, and RGB values for CSS color names.
const aliceBlueHex = CG.ColorNames.HexNumColor.aliceblue;
console.log(aliceBlueHex); // 0xf0f8ff
const aliceBlueHexStr = CG.ColorNames.HexStrColor.aliceblue;
console.log(aliceBlueHexStr); // "#f0f8ff"
const aliceBlueRgb = CG.ColorNames.RgbColor.aliceblue;
console.log(aliceBlueRgb); // [240, 248, 255]
sprite.tint = CG.ColorNames.HexNumColor.aliceblue;
document.body.style.backgroundColor = CG.ColorNames.HexStrColor.aliceblue;