Plot:Read color

From OHRRPGCE-Wiki

Jump to: navigation, search
read color (index,element)

Returns a color value from the master palette. The first argument is the index in the palette to read from, 0 to 255. The second argument is the color value to read, red, green, or blue. You can use 0,1, and 2, or you can use the predefined constants color:red, color:green, and color:blue. The counterpart to this is write color.

This command operates on values from 0-63. For operation on full color values (0-255), see get color

[edit] See Also

Personal tools