FunctionsServerValidateColorAgainstSchemaServerValidateColorAgainstSchema CallableServerValidateColorAgainstSchema(Color: BCColor, Schema: readonly BCColor[]): BCColorValidates and returns a color against a color schemaParametersColor: BCColorThe color to validateSchema: readonly BCColor[]The color schema to validate against (a list of accepted Color values)Returns BCColorThe color if it is a valid hex color string or part of the color schema, or the default color from the color schema otherwise
Validates and returns a color against a color schema