carameliSation, carameliZation.
Slowly cooking the onions will cause caramelization which will bring out the sweetness and give them a brown color.