ServerParseColor
Callable
Parameters
asset: Asset
The asset on which the color is set
color: string | readonly string[]
The color value to parse
schema: readonly string[]
The color schema to validate against
Returns string | string[]
- A parsed valid item color
Parses an item color, based on the allowed colorable layers on an asset, and the asset's color schema