Revert "Fix contact picture color generation."

This reverts commit b500047e426baa0807570c2f2836d0cf9ba6cc19.