---
id: fast-colors.quantizeconfig.fractionbypopulation
title: QuantizeConfig.fractionByPopulation 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; [fractionByPopulation](./fast-colors.quantizeconfig.fractionbypopulation.md)

## QuantizeConfig.fractionByPopulation property

For a final palette of size targetPaletteSize, we determine the first fractionByPopulation\*targetPaletteSize using population as the only factor when determening sort order. For the rest of the colors the sort order is population\*colorVolume. This helps highly contrasting colors in a small area to show up in some of the final output.

<b>Signature:</b>

```typescript
fractionByPopulation: number;
```