refactored HashObjectColor