Legacy:Color

From Spherical
Revision as of 04:40, 4 June 2013 by Apollolux (talk | contribs) (created from http://web.archive.org/web/20110731235553/http://www.spheredev.org/wiki/Object-Color)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The Color object holds information about a color and is used in most of Sphere's drawing functions. Color objects are created using CreateColor().

Two colors can be blended to make a new color that is part-way between the different shades. See BlendColors() and BlendColorsWeighted() for more details. A color mask is commonly used to influence the final appearance of colors. See color masking for more details.

Members

  • red Red color value (0-255).
  • green Green color value (0-255).
  • blue Blue color value (0-255).
  • alpha Alpha transparency value (0-255). The lower the value, the more transparent the color will be. An alpha of 255 means that this color is opaque.

Methods

None.

See also


API:Color/navbox