Garry's Mod Wiki

ColorRand

  table ColorRand( boolean a = false )

Description

Creates a Color with randomized red, green, and blue components. If the alpha argument is true, alpha will also be randomized.

Arguments

1 boolean a = false
Should alpha be randomized.

Returns

1 table
The created Color.