---
title: "Class RgbColors | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Color/RgbColors/"
---

# Class RgbColors

> **Inheritance:** `System.Object` -> RgbColors

###### **Namespace**: [Aurigma.DesignAtoms.Model.Color](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Color.md)

###### **Assembly**: Aurigma.DesignAtoms.Model.dll

```csharp title="Syntax"
public static class RgbColors
```

## Inherited Members

* `System.Object.ToString`
* `System.Object.Equals(System.Object)`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetHashCode`
* `System.Object.GetType`
* `System.Object.MemberwiseClone`

## Properties

### Transparent

```csharp
public static RgbColor Transparent { get; }
```

### Black

```csharp
public static RgbColor Black { get; }
```

### White

```csharp
public static RgbColor White { get; }
```

### Red

```csharp
public static RgbColor Red { get; }
```

### Green

```csharp
public static RgbColor Green { get; }
```

### Blue

```csharp
public static RgbColor Blue { get; }
```

### Yellow

```csharp
public static RgbColor Yellow { get; }
```

### Orange

```csharp
public static RgbColor Orange { get; }
```

### Purple

```csharp
public static RgbColor Purple { get; }
```

### Cyan

```csharp
public static RgbColor Cyan { get; }
```

### Gray

```csharp
public static RgbColor Gray { get; }
```

### Lime

```csharp
public static RgbColor Lime { get; }
```

### Coral

```csharp
public static RgbColor Coral { get; }
```

### Brown

```csharp
public static RgbColor Brown { get; }
```

### Pink

```csharp
public static RgbColor Pink { get; }
```

### Azure

```csharp
public static RgbColor Azure { get; }
```

### WhiteSmoke

```csharp
public static RgbColor WhiteSmoke { get; }
```

### BlueViolet

```csharp
public static RgbColor BlueViolet { get; }
```

### Beige

```csharp
public static RgbColor Beige { get; }
```

### CadetBlue

```csharp
public static RgbColor CadetBlue { get; }
```

### LightSeaGreen

```csharp
public static RgbColor LightSeaGreen { get; }
```

### AliceBlue

```csharp
public static RgbColor AliceBlue { get; }
```

### HotPink

```csharp
public static RgbColor HotPink { get; }
```

### DarkMagenta

```csharp
public static RgbColor DarkMagenta { get; }
```

### MistyRose

```csharp
public static RgbColor MistyRose { get; }
```

### IndianRed

```csharp
public static RgbColor IndianRed { get; }
```

### Khaki

```csharp
public static RgbColor Khaki { get; }
```

### DarkSeaGreen

```csharp
public static RgbColor DarkSeaGreen { get; }
```

### Crimson

```csharp
public static RgbColor Crimson { get; }
```

### Aqua

```csharp
public static RgbColor Aqua { get; }
```

### DarkGray

```csharp
public static RgbColor DarkGray { get; }
```

### Indigo

```csharp
public static RgbColor Indigo { get; }
```

### Lavender

```csharp
public static RgbColor Lavender { get; }
```

### Chocolate

```csharp
public static RgbColor Chocolate { get; }
```

### YellowGreen

```csharp
public static RgbColor YellowGreen { get; }
```

### Turquoise

```csharp
public static RgbColor Turquoise { get; }
```

### BurlyWood

```csharp
public static RgbColor BurlyWood { get; }
```

### AntiqueWhite

```csharp
public static RgbColor AntiqueWhite { get; }
```

### PaleVioletRed

```csharp
public static RgbColor PaleVioletRed { get; }
```

### Violet

```csharp
public static RgbColor Violet { get; }
```

### DarkRed

```csharp
public static RgbColor DarkRed { get; }
```

### SkyBlue

```csharp
public static RgbColor SkyBlue { get; }
```

### DeepSkyBlue

```csharp
public static RgbColor DeepSkyBlue { get; }
```

### Salmon

```csharp
public static RgbColor Salmon { get; }
```

### Chartreuse

```csharp
public static RgbColor Chartreuse { get; }
```

### Magenta

```csharp
public static RgbColor Magenta { get; }
```

### LightGreen

```csharp
public static RgbColor LightGreen { get; }
```

## Methods

### FromGdiPlusColor

```csharp
public static RgbColor FromGdiPlusColor(Color color)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Drawing.Color` | *color* |  |

##### Returns

[Aurigma.DesignAtoms.Model.Color.RgbColor](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Color/RgbColor.md)

### ToGdiPlusColor

```csharp
public static Color ToGdiPlusColor(RgbColor rgbColor)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.Model.Color.RgbColor](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Color/RgbColor.md) | *rgbColor* |  |

##### Returns

`System.Drawing.Color`
