Hi Eyetoof,
I am not sure if I understand your question but I recently had to work with color arrays for a color filter that I wrote in Processing. You wrote:
But in my script I have done exactly that and it is able to compare and assign color values from these lists. So for example, the Array list looks like this:
int [] colors = {#000000, #FFFFFF, #a49e9c, #0792fb, #1a8236, #2894c5, #238570, #a45b5a, #485189};