ConstOne to roughly eight CSS colours; order does not matter, near-duplicates count once.
Optionaloptions: MapThemeOptionsDeterministic, and no two roles share a colour:
land: the lightest low-saturation colour (the darkest, on a dark theme), toned down if saturated.roadMajor: the most colourful by OKLCH chroma, preferring one that is not a blue or a green.water: a blue or cyan; vegetation: a green.label: the one contrasting most with land, when it reaches WCAG 4.5:1.accent: the most colourful one left reading against land (3:1) and apart from roadMajor.Picked colours come back as given; roles no colour fits are hsl() shades of land — the accent
roadMajor's complement — so the result is complete. Apply it over a style of the same light or
dark: mapColorsLightDark.
Assigns a handful of colours — a brand's, a website's, an artist's, a mood's — to the map colours: the ten base-map ones plus
accent, ready for StylingFoundationsModule.setMapColors.