function quantizeByPopularityimport { quantizeByPopularity } from "https://deno.land/x/colors@v1.2.0/mod.ts"; quantizeByPopularity(palette: Color[], extractCount: number): Color[]Get a a reduced palette of just popular colors from the given palette. Parameterspalette: Color[]An array of colors to extract palette from extractCount: numberNumber of colors to extract ReturnsColor[]