Implement color hash