RGBColor

RGB color model (WMA link)


RGBColor[r, g, b]

represents a color with the specified red, green and blue components. These values should be a number between 0 and 1. Unless specified using the form below or using Opacity, default opacity is 1, a solid opaque color.

RGBColor[r, g, b, a]

Same as above but an opacity value is specified. a must have value between 0 and 1. RGBColor[r,g,b,a] is equivalent to {RGBColor[r,g,b],Opacity[a]}.

A swatch of color green:

Let's show what goes on in the process of boxing the above to make this display:

A swatch of color green which is 1/8 opaque:

A series of small disks of the primary colors:

Opacity
XYZColor