grain of wheat bulbs

Hi guys

Picked up a batch of 12v grain of wheat bulbs last week at a show

I noticed they get quite hot

does anyone know if they are ok for plastic shell engine head lights or to light up boxcars

Thanks

Larry