Electrical Transformers are in cased with oil. If you have smoke coming from one exploding it would have black smoke.
Example of a transformer explosion. Will create a dark black smoke due to the oil in the case of the transformer.
https://youtu.be/fzbQjd_Oo4Q