Attempting to make custom discrete color data function:
my custom color:

is it possible to use my custom color
colors = Reverse@Table[Hue@h, {h, 0, 0.7, 1/10}] // N; Thanks to mfvonh, color function and color data
cf[x_] := Which @@ Flatten[ MapThread[ List, {x >= # & /@ Reverse@Most@Range[0, 1, 1/Length@colors], colors}]] colordata=cf /@ Rescale[pts[[All, 2]], {0,0.1}]; 
