Function: resolveColor()
resolveColor(color
): string
| number
Resolves a color to a number. This function doesn't throw for invalid colors but returns the input
Parameters
• color: string
The color to resolve
Returns
string
| number
resolveColor(color
): string
| number
Resolves a color to a number. This function doesn't throw for invalid colors but returns the input
• color: string
The color to resolve
string
| number