Plot:Write color
From OHRRPGCE-Wiki
write color (index,element,value)
Writes a color value into the master palette. The first argument is the index in the palette to write to, 0 to 255. The second argument is the color value to write, 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 third argument is the color value to write. It can be in the range of 0 to 63. Changes do not take effect until you call update palette or fade screen in The counterpart to this is read color. Changes to the master palette last as long as you are playing, but are not stored in saved-games. If you need to make master-palette changes persist in saved-games you will have to use the on-load plotscript trigger.
