to paint stryofoam (pardon my spelling) give it a coat of gesso then paint
with either acrylic or tempera paint. Actually if you seal it well enough
(perhaps 2 coats of gesso) you can spray paint it. I have heard of people
sealing it with a coating of elmer's then spray painting it. Hope this helps!