Help on random led coloring?

What do you mean by

recognizes values

Do you mean it accepts values over the serial input from the terminal or processing?
If so this thread has some clues:-
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1252747698/all