Color Picker by Suduadib is an example that shows the usage of arrays in Small Basic.  You can import this program using the id: SGS247.

Program listing is available at: http://program.smallbasic.com/?SGS247