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

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

## PixelBox.(constructor)

Constructs a new instance of the `PixelBox` class

<b>Signature:</b>

```typescript
constructor(globalHistogram: Histogram, minRed: number, maxRed: number, minGreen: number, maxGreen: number, minBlue: number, maxBlue: number);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  globalHistogram | [Histogram](./fast-colors.histogram.md) |  |
|  minRed | number |  |
|  maxRed | number |  |
|  minGreen | number |  |
|  maxGreen | number |  |
|  minBlue | number |  |
|  maxBlue | number |  |
