Generate a distinct color label for each Subject
Closed this issue · 1 comments
wongjiahau commented
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
wongjiahau commented
Not needed anymore, as more color will actually become more distracting rather than attractive