Template:Color

From TibiaCraft
Revision as of 22:18, 4 October 2025 by Root (talk | contribs) (Created page with "<span style="display: inline-block; white-space: nowrap;"><span style="display: inline-block; background-color: {{{1|#000}}}; border: 1px solid #888; border-radius: 0.3em; color: transparent; width: 1em; height: 1em; vertical-align: -0.36em; margin-right: -0.1em"><br></span> {{{2|{{{1|#000}}}}}}</span><noinclude> {{documentation}} <!-- Put categories/interwikis on the documentation page --> </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


 #000

Documentation[view] [edit] [history] [purge]

Used to display colors. Can be in any format supported by CSS (hexadecimal, rgb(a), hsl(a), keyword).

Examples

{{color|#123456}}:
 #123456

{{color|rgb(241, 042, 176)}}:
 rgb(241, 042, 176)

{{color|hsl(45, 100%, 50%)}}:
 hsl(45, 100%, 50%)

{{color|peachpuff}}:
 peachpuff

{{color|cyan|custom text}}:
 custom text

TemplateData

Used to display colors.

Template parameters

ParameterDescriptionTypeStatus
Color value1

Technical information describing the color.

Suggested values
rgb(255, 0, 0) #ff0000 #f00 rgba(255, 0, 0, 255) red hsl(0, 100%, 50%)
Unknownrequired
Text2

Custom text to show instead of the color value.

Example
Fire Engine Red
Contentoptional
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Color/doc.