Wait for input...

I also had the issue of having to put in 010 etc, is there any way that if you are pressing ENTER after each one to confirm then you can make it take it literally as typed e.g. it would take 10 as 10 not 1 and 0 and then you wouldn't have to fiddle about with multiplying numbers...

Yeah, because the enter key is a confirmation that all colors are entered you have to enter 3 digits for each color. If it were coded to accept an enter key after each color you could do exactly what you said and the code should be alot shorter too.