Step-by-step explanation:
Black or Dark color clothes are good absorbers of heat. The heat from the sun is absorbed by the black shirt, thus making the shirt warmer. The sunlight here is source of heat. The amount of heat absorbed can be calculated according to the stephan's law.