updated placeholder-color function