Skip to content

Documentation / @sw-file-lib/core / color

color ​

Utilities for color operations.

Interfaces ​

InterfaceDescription
ColorRGBA color with 8-bit channel values.
ReadonlyColorRead only Color type.

Variables ​

VariableDescription
BLACK-
WHITE-

Functions ​

FunctionDescription
isColorCheck whether a value is a Color object.
parseColorParse a Stormworks-style color string.