CS Courses as hex colors

This version encodes the semester following some internal JMU standard whose documentation I cannot find where the semester is represented as a 4-digit integer in base 10 with:

  1. the current millennium is 0 for 1900 and 1 for 2000
  2. the semester's year's last 2 digits are the middle two digits
  3. the last digit is the 1-based index of that semester's starting month, e.g. Fall semester starts in august which is month 8

For example, Fall 2025 semester is 1258:

1
Fall 2025 is not in the 1900s, but in the 2000s
25
semester's year's last 2 digits
8
Fall 2025 starts in August, month 8

Caveat

The only issue is that course code has too many digits, so we drop the leading digit representing the millennium (Fall 2025 is then 258).

sem