They correspond to the maximum values ββon the HSV scale :). 240 is divided by 2,3,4,5,6,8,10,12,15,16,20,24,30,40,60,80,120, etc. (Did I miss any?). Much more versatile for color palettes than 256.
239 will be because 240 exactly matches 0 (like a circle).
source share