how do you write color in java scrip code example Example: how to change color of font in js element.style.color = '#f0f';