Good point, yes for hashcode it is better to get color hex.