## GetPropertyColor(string) {#getpropertycolor}

Gets color property value.

```csharp
public virtual Color GetPropertyColor(string key)
```

| Parameter | Type | Description |
| --- | --- | --- |
| key | String | The name of property. |

### Return Value

Property value.

### See Also

* class [UserProperties](../)
* namespace [Aspose.Page](../../userproperties/)
* assembly [Aspose.Page](../../../)

---

## GetPropertyColor(string, Color) {#getpropertycolor_1}

Gets color property value. If requested property is absent, returns provided default value.

```csharp
public virtual Color GetPropertyColor(string key, Color defValue)
```

| Parameter | Type | Description |
| --- | --- | --- |
| key | String | The name of property. |
| defValue | Color | Default value of property. |

### Return Value

Property value.

### See Also

* class [UserProperties](../)
* namespace [Aspose.Page](../../userproperties/)
* assembly [Aspose.Page](../../../)


