About
text-color is a typographic attributes that sets the color of a text.
Syntax
text-color="value"
<!--- or --->
color="value"
where value is one of the accepted color values and the special text colors value:
- body
- muted
- black-50
- white-50
Example
Basic
Coloring paragraph with the component and a couple of words with the itext component
- Input
<text color="steelblue">
Steelblue colored paragraph with a <itext color="blue">couple of words in blue</itext>
</text>
- Output
Steelblue colored paragraph with a couple of words in blue
Link
The reset color applied on a link will take the color of the text
- Input
<text color="#6c757d">
Colored text with a [[?color=reset&underline|reset link]]
</text>
- Output
Colored text with a reset link