---
id: fast-colors.quantizeconfig.ishistogrampixelvalid
title: QuantizeConfig.isHistogramPixelValid property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-colors](./fast-colors.md) &gt; [QuantizeConfig](./fast-colors.quantizeconfig.md) &gt; [isHistogramPixelValid](./fast-colors.quantizeconfig.ishistogrampixelvalid.md)

## QuantizeConfig.isHistogramPixelValid property

This predicate can be used to exlude pixels from the histogram. It is passed numbers in the range \[0,255\] in rgba order. EG: Excluding colors too close to pure white or ones which are transparent.

<b>Signature:</b>

```typescript
isHistogramPixelValid: ((pixel: number[]) => boolean) | null;
```