wongjiahau/TTAP-UTAR

Generate a distinct color label for each Subject

Closed this issue · 1 comments

The color should be generated based on subject code.
Color = HashStringToColor(Subject.Code);

The HashStringToColor function can be obtained here :
https://stackoverflow.com/questions/3887083/hashing-strings-to-color-in-c-sharp

Not needed anymore, as more color will actually become more distracting rather than attractive