Difference between revisions of "ObjectType:rgb"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
[[Category:LavishScript]] | [[Category:LavishScript]] | ||
+ | [[Category:LavishScript Data Types]] |
Revision as of 23:51, 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