Creates a new Color object where the r, g, and b values have been set to random values based on the given min max values.
name | type | arguments | Default | description |
---|---|---|---|---|
min | number | <optional> | 0 |
The minimum value to set the random range from (between 0 and 255) |
max | number | <optional> | 255 |
The maximum value to set the random range from (between 0 and 255) |
A Color object.