Added palette feature

Added palette feature so that each match group can be styled differently.