ui/colorgrid/colors
module
Constants
module:ui/colorgrid/colors~defaultColorGridColumnsThe number of columns in the default color palette.
defaultColors: Array<ColorOption>module:ui/colorgrid/colors~defaultColorsThe default color palette shared by every feature that displays a color grid: the font color, the font background color, and the border and background colors of tables and table cells.
It holds 12 hues in 10 shades each, from
50to900, and fills a 12-column grid. Every row is one shade and every column is one hue. The last column is a grey scale from white to black, matching the lightness of each row.Shaded labels follow the
<hue> <shade>pattern.getLocalizedColorOptionstranslates the hue and keeps the shade number.