Is there an easier way to do all of this?

they are the output pins of the TLC5940
Red, Green, and Blue
channel 0 is ouptuts 0,1,2
channel 1 is outputs 3,4,5
channel 2 is outputs 6,7,8
channel 3 is outputs 9,10,11
channel 4 is outputs 12,13,14

so

switch(chan) 
181. { 
182. case 0: 
183. r = 0; // 0
184. g = r++; // 1
185. b = g++; // 2
186. break; // I'll admit, I thought the increments looked a lot cooler than r=0, g=1, b=2 (yes, I am a bit immature)
187. case 1: 
188. r = 3; // I know you really like tables, matrices, 2d arrays; but, I am sure 100% sure that looking these simple values up like
189. g = r++; // that would be slower than this, even if there is a better way than this...
190. b = g++; 
191. break;