Why are Electronic Devices painted Black ?

Electronic Devices such as ICs, transistors are painted black as a black surface dissipates heat more effectively.

In Thermodynamics, it is called black body radiation.