Proteopedia:Cookbook: Difference between revisions
Eric Martz (talk | contribs) |
Eric Martz (talk | contribs) |
||
Line 51: | Line 51: | ||
<span style="background-color:#e8e8e8;padding-left:7px;padding-right:7px;">lightgray</span>. | <span style="background-color:#e8e8e8;padding-left:7px;padding-right:7px;">lightgray</span>. | ||
=== | ===Span Style Colors=== | ||
You can color this | You can color using CSS spans: <span style="color:red;font-weight:bold;">Red</span>, which looks like this: <span style="color:red;font-weight:bold;">Red</span>. RGB codes can also be used: | ||
===HTML Font Colors=== | |||
Coloring using HTML font tags is [https://www.w3schools.com/tags/tag_font.asp not recommended as it is technically not supported by HTML5]: <font color="red">'''Red'''</font> which looks like this: <font color="red">'''Red'''</font>. In addition to color names, you can use Red-Green-Blue [https://www.rapidtables.com/web/color/RGB_Color.html (RGB) hexadecimal codes] following "#", for example <font color="#8000ff">'''Purple'''</font> which looks like this: <font color="#8000ff">'''Purple'''</font>. | |||
===Coloring Text in Scene Captions=== | ===Coloring Text in Scene Captions=== |