javascript change an object to a object with colored text code example Example: js element text color element.style.color = '#f0f';