Initializes the colorset to a hardcoded value, as well as choosing a random S color index.
S is the current basecolor's index.
A table of ColorScale with key coursecode (string) and value ColorScale.
An array of base colors to choose from.
Returns a deep copy of this object.
Pick a color for a given course and section.
If a color has already been allocated for a coursecode, this will pick a related color.
The sectionid determines how interpolated a color is chosen.
A HexColor-compatible string.
Generated using TypeDoc
Intended to return a color that is the same base color as another course that has the same ID, but differently interpolated. This allows related courses to have similar colors, eg the Lecture would be red, and the Recitation would be pale red.