Evar, from our discussion this morning. There seems to be a suitable addon for changing the colours of bricks with VCE.
4 bricks each representing a separate colour being either black or white (base 2) would allow for 16 different combinations. All you'd need to do is maker an interpreter for checking what each value for 1-16 means. Since building an event for each different combination is possible, using it for something like 8 bricks or 16 would require binary bit addition carrying (or a similar system) to reduce the amount of events and scale up the amount of space.
8 bricks would allow for 32 different values while 16 would be 64.. etc
Modifying values would simply be changing the different colours but I'm not sure how efficient it would when working with larger than 8 bricks.