@microsoft/fast-colors > QuantizeConfig > fractionByPopulation
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.
Signature:fractionByPopulation: number;