What ingredient determines the color of a beer?

The color of a beer is determined by the malt. The most common color is a pale amber produced from using pale malts.