Color

Function
This function generates a solid field of color within the width and height of the image.

Parameters
Type
Defaults
Function
width
int
defaultWidth width of the image
height
int
defaultHeight height of the image
bytes
int
1 bit depth, 1, 2, or 4 bytes/channel
red, green, blue, alpha, depth
float
0,0,0,1, 0 value of red, green, blue, alpha, and Z channels.


Synopsis

image Color( 
  int width, 
  int height, 
  int bytes, 
  float red, 
  float green, 
  float blue, 
  float alpha, 
  float depth 
);


Script

image = Color( width, height, bytes, 
        red, green, blue, alpha, depth 
);


Command Line

shake -color width height bytes etc...


Examples

shake -color
shake -color 320 240
shake -color 320 240 1 0 0 1

See Also
Rand, RGrad, Ramp, Black, Checker, ColorWheel