## Color::operator==(const Color\&) const method


Determines if the current and the specified [Color](../) objects represent the same color.

```cpp
bool System::Drawing::Color::operator==(const Color &r) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| r | const Color\& | The [Color](../) object to compare the current object with |

### ReturnValue

True if both the current and the specified objects represent the same color, otherwise - false

## See Also

* Class [Color](../)
* Class [Color](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
## Color::operator==(const std::nullptr_t\&) const method


Always returns false.

```cpp
bool System::Drawing::Color::operator==(const std::nullptr_t &r) const
```

## See Also

* Class [Color](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
