Static ReadonlyMIN_Static ReadonlyMAX_ReadonlysizefieldReadonlycolorsColors in the table.
Whether colors are sorted in order of decreasing importance.
StaticcreateStaticcreateCreates a color table filled with colors ranging from black to white.
StaticcreateCreates a color table filled with colors sampled along a cubic lattice from the RGB cube. Note that this implies a cubic number of colors, so the table won't be completely filled.
StaticsizefieldConverts a valid sizefield to an actual table size.
StaticdesiredReturns the smallest sizefield that encodes a size of at least desiredSize, or undefined if no sizefield can provide a size big enough.
Number of colors the color table should be able to hold.
Gets the index of the color that has the lowest distance to the target.
Represents valid table sizes.