Random.RandomHues
Extension Method in Random
Declaration
public static Color[] RandomHues(this Color baseColor, int amount, float min = 0F, float max = 360F)
Description
Generates a given amount of random hues of the base color.
Parameters
baseColor | The base color to generate new colors from. |
amount | The amount of random hues to generate. |
min | The minimum hue value [0..360] (default=0). |
max | The maximum hue value [0..360] (default=360). |
Returns
Color[] | An array of random hues. |