You are right and it is not your fault, rather my sloppy code.
The hue is well defined but not aligned with the hue stepping. The saturation is randomized and not aligned at all.
This was simply the quickest way to do it and makes it a game about matching similar rather than identical colors.