Randomize gradient color from lunchbox

I was wondering how i could randomize the color pattern from my formula, unfortunately when i try to experiemnt with the gradient input i only got the following pattern, instead what i want to achieve is a more diverse color pattern, any tips for this approach? Thanks before

Tinted glass formula.gh (71.5 KB)

Hi

because you have duplicate numbers.

you can use this way:

Thanks for the fix. Also, care to explain why duplicated numbers affect the distribution? i’m still learning the hang of it

Because the values obtained from the Area component are repeated, and these repetitions may occur randomly rather than in a sorted list, using Average with the Deconstruct Domain component will always result in a list containing duplicate values.
I hope this clarifies.