how to get a random color in shades of a specific color, e.g. brown, green
Im using this and it's cool but I don't understand how it works. This code draws all the shades for me, and I don't want the grass to be purple ;-P
rgbEx(
lerp(50, random(100), 0.4),
lerp(50, random(100), 0.4),
lerp(50, random(100), 0.4)
)