Need help with RGB rainbow colors

@tiirak - we can't assign three values to a single (scalar) array element, but if calculating the values is sufficiently simple, then it may actually cost less to calculate values as needed than to calculate them and store/fetch them from an array.