The more light an object absorbs the more heat is absorved...because light is energy.
Black absorbs the most heat because all wavelengths of light are absorbed and nothing is reflected. (black is the absence of all colors)
Red reflects the energy from the red wavelengths away and therefore will not get as hot as black.
White would be the coolest object because it reflects the most energy away. (white is the presence of all colors)