@microsoft/fast-colors > QuantizeConfig > isHistogramPixelValid
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.
Signature:isHistogramPixelValid: ((pixel: number[]) => boolean) | null;