////////////////////////////////////////////////////////////////// // // // Task: palette_sys (Int r[16], Int g[16], Int b[16]) // // // // Description: Lets you select your OWN set of 16 colors // // instead of the standard 16 colors // // // // Parameters: r[i]: The amount of red (0-63) to be used // // in the "i"-th color of the new palette // // g[i]: The amount of green (0-63) to be used // // in the "i"-th color of the new palette // // b[i]: The amount of blue (0-63) to be used // // in the "i"-th color of the new palette // // // // Universe: Pro-SiMPLE // // // // Author: SiMPLE CodeWorks // // // ////////////////////////////////////////////////////////////////// Task palette_sys (r[], g[], b[]) graph on Do i=0,15 +setpalette (i_, i_); +setrgbpalette (i_, r_[i_], g_[i_], b_[i_]); Loop