Documentation / @sw-file-lib/core / color
color
Utilities for color operations.
Interfaces
| Interface | Description |
|---|---|
| Color | RGBA color with 8-bit channel values. |
| ReadonlyColor | Read only Color type. |
Variables
| Variable | Description |
|---|---|
| BLACK | - |
| WHITE | - |
Functions
| Function | Description |
|---|---|
| isColor | Check whether a value is a Color object. |
| parseColor | Parse a Stormworks-style color string. |