YourJS.com


jPaq Docs  Color.random()Quick StatsTarget Platforms: PC (JScript) and the web (JavaScript) SummaryProduces a random color based on the specified criteria. Each of the parameters may be a number or an array of numbers. To specify a specific value, the numeric value must be in an array by itself. To specify a range, the values must be given in an array where the first element is the minimum value and the second element is the maximum value. To produce an independently random value, 0 or null should be specified. To produce a random value that must be greater than one or both of the other two nonzero parameters, you must enter a larger number. To produce a random value that is smaller than one or both of the other two nonzero parameters, you must enter a smaller number. Parameters
ReturnsColor Related Examples
© 20102020  Site by Chris West. Powered by jQuery and jPaq. 