setup implementations for ColorFeature tests
explicit version for compiler plugin
explicit encoding for portability
implemented equals/hashCode (using commons-lang cheating ;-) )