+14
−0
Loading
+ RandomIndexFromArrayWithFreq + RandomColorFromArrayWithFreq You can define the probability of the first color or index. So if you call RandomColorFromArrayWithFreq(colors, 0.9) This means the first color will be selected 90 out of 100 the rest of the times will be uniformly random between the rest of the colors. #71