Difference between revisions of "ObjectType:rgb"

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

Revision as of 21:41, 25 May 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