Skip to content

Color

Represents a set of standard named colors that can be used for display, signaling, or visualization within the train control system or user interface.

Constants

enum.color.AQUA

A bright cyan-blue color, often used for highlighting or informational indicators.

enum.color.BLACK

Black color, typically used for text, outlines, or inactive elements.

enum.color.BLUE

Blue color, commonly used to represent normal operation, information, or neutral states.

enum.color.FUCHSIA

A vivid pink-purple color, often used for emphasis or alerts.

enum.color.GRAY

Gray color, usually used for disabled or inactive elements.

enum.color.GREEN

Green color, typically representing safety, readiness, or 'go' states.

enum.color.LIME

Bright lime-green color, a lighter variant of green often used for visibility or highlights.

enum.color.MAROON

Dark red color, sometimes used to indicate caution or reserved conditions.

enum.color.NAVY

Dark blue color, typically used for professional or subdued indicators.

enum.color.NONE

Represents the absence of a color or transparent state.

enum.color.OLIVE

Olive green color, often used for muted or intermediate visual states.

enum.color.PURPLE

Purple color, commonly used for secondary or auxiliary indicators.

enum.color.RED

Red color, typically representing danger, stop, or error conditions.

enum.color.SILVER

Light gray or silver color, used for neutral or decorative purposes.

enum.color.TEAL

Teal color, a blue-green hue used for calm or neutral indicators.

enum.color.WHITE

White color, representing neutrality, clarity, or background elements.

enum.color.YELLOW

Yellow color, typically used for warnings, attention, or intermediate states.

See also