
**Summary:** Represents an YUV color.

**Module:** [aspose.imaging.magicwand](/imaging/python-net/aspose.imaging.magicwand/)

**Full Name:** aspose.imaging.magicwand.ColorYUV

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [ColorYUV()](#ColorYUV__1) | Initializes a new instance of the ColorYUV class |
| [ColorYUV(color)](#ColorYUV_color_2) | Initializes a new instance of the [ColorYUV](/imaging/python-net/aspose.imaging.magicwand/coloryuv/) structure from the specified existing [Color](/imaging/python-net/aspose.imaging/color/). |
| [ColorYUV(y, u, v)](#ColorYUV_y_u_v_3) | Initializes a new instance of the [ColorYUV](/imaging/python-net/aspose.imaging.magicwand/coloryuv/) structure with the specified luminance component, blue and red projection components. |
## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| u | float | r | Gets the blue projection component value of this [ColorYUV](/imaging/python-net/aspose.imaging.magicwand/coloryuv/) structure. |
| v | float | r | Gets the red projection component value of this [ColorYUV](/imaging/python-net/aspose.imaging.magicwand/coloryuv/) structure. |
| y | float | r | Gets the luminance component value of this [ColorYUV](/imaging/python-net/aspose.imaging.magicwand/coloryuv/) structure. |


### Constructor: ColorYUV() {#ColorYUV__1}


```
 ColorYUV() 
```

Initializes a new instance of the ColorYUV class

### Constructor: ColorYUV(color) {#ColorYUV_color_2}


```
 ColorYUV(color) 
```

Initializes a new instance of the [ColorYUV](/imaging/python-net/aspose.imaging.magicwand/coloryuv/) structure from the specified existing [Color](/imaging/python-net/aspose.imaging/color/).

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| color | [Color](/imaging/python-net/aspose.imaging/color/) | The Color from which to create the new [ColorYUV](/imaging/python-net/aspose.imaging.magicwand/coloryuv/). |

### Constructor: ColorYUV(y, u, v) {#ColorYUV_y_u_v_3}


```
 ColorYUV(y, u, v) 
```

Initializes a new instance of the [ColorYUV](/imaging/python-net/aspose.imaging.magicwand/coloryuv/) structure with the specified luminance component, blue and red projection components.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| y | int | The luminance component value. |
| u | int | The blue projection component value. |
| v | int | The red projection component value. |

