FunctionsServerParseColorServerParseColor CallableServerParseColor(asset: Asset, color: BCColor | readonly BCColor[], schema: readonly BCColor[]): BCColor | BCColor[]Parses an item color, based on the allowed colorable layers on an asset, and the asset's color schemaParametersasset: AssetThe asset on which the color is setcolor: BCColor | readonly BCColor[]The color value to parseschema: readonly BCColor[]The color schema to validate againstReturns BCColor | BCColor[]A parsed valid item color
Parses an item color, based on the allowed colorable layers on an asset, and the asset's color schema