color
Changes the color of an element.
Overview
Use the color style to change the color an an element. Here’s an example of how to change the text color inside of a description element.
<description style="color:rgb(0,0,255,0.3)">Light purple</description>Values for color
rgb(r,g,b)The background color of an element, where
r,g,bare the red, green, and blue color components, and have a value range from0-255.rgba(r,g,b,a)The background color of an element, where
r,g,bare the red, green, and blue color components, and have a value range from0-255, andais the alpha applied to the color, ranging from0.0-1.0.transparentThe background color of the element is transparent.