Big RGB Table Finally Needs Code

The relevant question is: how many of them are there?

For example, you might have 1000 bytes, so you need an int to index them (because the number in a byte only goes up to 255). Or you might have 10 longs, but only need a byte to index them (as it can go up to 10).

In your case, a byte is fine, if you only want to go up to 24.