Skip to main content

color

This module provides a dictionary of around 900 color names.

Import

Import the dictionary to your project via the require tag:

require: color/colorEn.sc
module = sys.zb-common

After importing the file, the following becomes available:

Value format

FieldTypeDescription
nameStringColor name
hexStringHex code
redNumberRed intensity
greenNumberGreen intensity
blueNumberBlue intensity

Entry examples

221;Gargoyle Gas;{"name": "Gargoyle Gas", "hex": "#FFDF46", "red": 255, "green": 223, "blue": 70}
806;Teal;{"name": "Teal", "hex": "#008080", "red": 0, "green": 128, "blue": 128}