## Workbook::IsColorInPalette method


Checks if a color is in the palette for the spreadsheet.

```cpp
bool Aspose::Cells::Workbook::IsColorInPalette(const Aspose::Cells::Color &color)
```


| Parameter | Type | Description |
| --- | --- | --- |
| color | const Aspose::Cells::Color\& | [Color](../../color/) structure. |

## ReturnValue

Returns true if this color is in the palette. Otherwise, returns false

## See Also

* Class [Vector](../../vector/)
* Class [Workbook](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
