Difference between revisions of "ObjectType:rgb"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 16: Line 16:
  
 
== See Also ==
 
== See Also ==
 +
* [[LavishScript:Data Types|Data Types]]

Revision as of 22:39, 22 February 2005

Description

Short for red, green, blue, an rgb type describes a complete color, comprised of the primary colors of light.

Members

  • string Hex: A hexadecimal value representing the color, in the form rrggbb. For example, "ff0000" is full red.
  • int Red: 0-255 indicating the amount of red
  • int Green: 0-255 indicating the amount of green
  • int Blue: 0-255 indicating the amount of blue

Methods

Returns

Same as Hex

Examples

See Also