Add color hashing func