Use typedef unsigned int Color instead of class Color.