---
id: fast-colors.colorxyz._constructor_
title: ColorXYZ.(constructor)
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-colors](./fast-colors.md) &gt; [ColorXYZ](./fast-colors.colorxyz.md) &gt; [(constructor)](./fast-colors.colorxyz._constructor_.md)

## ColorXYZ.(constructor)

Constructs a new instance of the `ColorXYZ` class

<b>Signature:</b>

```typescript
constructor(x: number, y: number, z: number);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  x | number |  |
|  y | number |  |
|  z | number |  |
