OOF2: The Manual

Name

RGBAColor (RGBAColor) — Color specified as a Red, Green, Blue, Alpha quartet.

Synopsis

RGBAColor(red,green,blue,alpha)

Details

  • Base class: Color
  • Parameters:

    red
    Value of Red. Type: A real number in the range [0, 1].
    green
    Value of Green. Type: A real number in the range [0, 1].
    blue
    Value of Blue. Type: A real number in the range [0, 1].
    alpha
    Opacity. Type: A real number in the range [0, 1].

Description

RGBColor specifies a color in terms of its red, green, and blue values. All three parameters are floating point numbers between 0 and 1 inclusive, with 0 being the lowest intensity and 1 being the highest. Setting all three to 0 yields black, and setting all three to 1 yields white.