Grid size can be set between 2 and 10 rows/columns and colour depth can be set between 1 and 4 colours. When more than one colour is specified, the cell colours are cycled at each "invert"
Please note, I do not know if all scenarios are actually solvable, particularly with multiple colours. I would be interested to hear solutions for any scenarios with 3 or 4 colours.
Wow, this is addictive as minesweeper!!