Template:ColoredText

From FreeCAD Documentation
Jump to: navigation, search

{{{1}}}


Use this template to colored the background, text or background and text.

Example:

Mode basic highlight

{{ColoredText|Here the mode single, the color of base is used.}}

Result:

Here the mode single, the color of base is used.

Mode background highlight mode hexadecimal

{{ColoredText|#ff0000|Mode background highlight mode hexadecimal}}

Result:

Mode background highlight mode hexadecimal

Mode background highlight mode rgb

{{ColoredText|rgb(200, 100, 0)| Mode background highlight mode rgb}}

Result:

Mode background highlight mode rgb

Mode background and text highlight mode hexadecimal

{{ColoredText|#ff0000|#ffff00|Mode background and text highlight mode hexadecimal}}

Result:

Mode background and text highlight mode hexadecimal

Mode background and text highlight mode rgb

{{ColoredText|rgb(255, 0, 0)|rgb(255, 255, 0)| Mode background and text highlight mode rgb}}

Result:

Mode background and text highlight mode rgb

Mode background and text highlight mode color name

{{ColoredText|DarkRed|Yellow|Mode background and text highlight mode color name}}

Result:

Mode background and text highlight mode color name

Mode text

{{ColoredText||DarkRed|Mode text highlight mode color name}}

Result:

Mode text highlight mode color name

Colors codes

All HTML code is available see Web_colors for other colors codes

BackGround color example:

Code HEXA #FFFFFF HTML color name White

Code HEXA #C0C0C0 HTML color name Silver

Code HEXA #808080 HTML color name Gray

Code HEXA #000000 HTML color name Black

Code HEXA #FF0000 HTML color name Red

Code HEXA #800000 HTML color name Maroon

Code HEXA #FFFF00 HTML color name Yellow

Code HEXA #808000 HTML color name Olive

Code HEXA #00FF00 HTML color name Lime

Code HEXA #008000 HTML color name Green

Code HEXA #00FFFF HTML color name Aqua

Code HEXA #008080 HTML color name Teal

Code HEXA #0000FF HTML color name Blue

Code HEXA #000080 HTML color name Navy

Code HEXA #FF00FF HTML color name Fuchsia

Code HEXA #800080 HTML color name Purple