Template:ColoredParagraph

From FreeCAD Documentation
Jump to: navigation, search
{{{1}}}


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

Example:

Mode basic highlight (#ffeeee)

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

This paragraph is higthligthted

for call attention of the reader
}}

Result:

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

This paragraph is higthligthted

for call attention of the reader

Mode background highlight mode hexadecimal

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

Result:

Mode background highlight mode hexadecimal

Mode background highlight mode rgb

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

Result:

Mode background highlight mode rgb

Mode background and text highlight mode hexadecimal

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

Result:

Mode background and text highlight mode hexadecimal

Mode background and text highlight mode rgb

{{ColoredParagraph|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

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

Result:

Mode background and text highlight mode color name

Mode text

{{ColoredParagraph||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