how to have a objects have color property in JavaScript code example Example: js element text color element.style.color = '#f0f';