added serialization to Color objects