used typeof method and separated user colors