Function: getColorName()
getColorName(
color):Promise<string>
Asynchronously retrieves the name of a color from the Color Pizza API.
Parameters
| Parameter | Type | Description | 
|---|---|---|
color | Color | The color object to get the name for. | 
Returns
Promise<string>
A promise that resolves to the name of the color, or 'Unknown' if an error occurs.
Defined in
utils/components/color-naming.ts:114