I systematically space my default colours out. They are generated by this script:
#!/usr/bin/env python3
def rgb(r,g,b):
r = min(1.0,max(0.,r))
g = min(1.0,max(0.,g))
b = min(1.0,max(0.,b))
r *= 255.9
g *= 255.9
b *= 255.9
r = int(r)
g = int(g)
b = int(b)
t = 2
x = (t << 24) + (r << 16) + (g << 8) + b
return x
n = 1
def c(r,g,b):
global n
print(f"custcolor{n}={rgb(r,g,b)}")
n += 1
print("""[SWS Color]""")
c(1,0,0)
c(0,1,0)
c(0,0,1)
c(0,1,1)
c(1,0,1)
c(0,1,1)
c(1,0.66,0.66)
c(0.66,1,0.66)
c(0.66,0.66,1)
c(0.66,1,1)
c(1,0.66,1)
c(0.66,1,1)
c(1,0.33,0.33)
c(0.33,1,0.33)
c(0.33,0.33,1)
c(1,0.33,0.66)
print("""gradientEnd=50331647
gradientStart=0""")
This results in
[SWS Color]
custcolor1=50266112
custcolor2=33619712
custcolor3=33554687
custcolor4=33619967
custcolor5=50266367
custcolor6=33619967
custcolor7=50309288
custcolor8=44629928
custcolor9=44607743
custcolor10=44630015
custcolor11=50309375
custcolor12=44630015
custcolor13=50287700
custcolor14=39124820
custcolor15=39081215
custcolor16=50287784
gradientEnd=50331647
gradientStart=0
which you can download here.