Implemented IEquatable<ColorFormat>

This eliminates memory allocations when storing and comparing
ColorFormat structures.