---
title: "Color.Equals"
url: "https://reference.aspose.com/drawing/net/aspose.drawing/color/equals/"
product: "Aspose.Drawing for .NET API Reference"
description: "Color method. Tests whether the specified color is equivalent to this color"
---

## Equals(Color) {#equals}

Tests whether the specified color is equivalent to this color.

```csharp
public bool Equals(Color other)
```

| Parameter | Type | Description |
| --- | --- | --- |
| other | Color | The color to test. |

### Return Value

`true` if the specified color is equivalent to this color; otherwise, `false`.

### See Also

* struct [Color](../)
* namespace [Aspose.Drawing](../../color/)
* assembly [Aspose.Drawing.Common](../../../)

---

## Equals(object) {#equals_1}

Tests whether the specified object is equivalent to this color.

```csharp
public override bool Equals(object obj)
```

| Parameter | Type | Description |
| --- | --- | --- |
| obj | Object | The object to test. |

### Return Value

`true` if the specified object is equivalent to this color; otherwise, `false`.

### See Also

* struct [Color](../)
* namespace [Aspose.Drawing](../../color/)
* assembly [Aspose.Drawing.Common](../../../)


