More Color.parse tests.
Correct g.centroid calculation.

Using center of bounds.