Template:Colored text

From Space Station 14 Wiki
Revision as of 15:36, 9 August 2024 by Aliser (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
view or edit this documentation about template documentation

Colors

Red text using one of the predefined CSS colors: red

{{Colored text|red|hello world, I'm red}}

This text hello world, I'm red has a custom color.

Gold text using hex code for gold: #ffd700

{{Colored text|#ffd700|GOLD GOLD GOLD}}

This text GOLD GOLD GOLD has a custom color.

Orange text using HSL: hsl(24, 100%, 50%)

{{Colored text|hsl(24, 100%, 50%)|orange energy}}

This text orange energy has a custom color.


See also

  • {{Color}} - for quickly selecting in-game and wiki colors. Useful in bundle with this template.


An easy way to give a color to a text.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Color1

A CSS-compatible color or a color code.

Suggested values
black silver gray white maroon red purple fuchsia green lime olive yellow navy blue teal aqua aliceblue antiquewhite aquamarine azure beige bisque blanchedalmond blueviolet brown burlywood cadetblue chartreuse chocolate coral cornflowerblue cornsilk crimson cyan darkblue darkcyan darkgoldenrod darkgray darkgreen darkgrey darkkhaki darkmagenta darkolivegreen darkorange darkorchid darkred darksalmon darkseagreen darkslateblue darkslategray darkslategrey darkturquoise darkviolet deeppink deepskyblue dimgray dimgrey dodgerblue firebrick floralwhite forestgreen gainsboro ghostwhite gold goldenrod greenyellow grey honeydew hotpink indianred indigo ivory khaki lavender lavenderblush lawngreen lemonchiffon lightblue lightcoral lightcyan lightgoldenrodyellow lightgray lightgreen lightgrey lightpink lightsalmon lightseagreen lightskyblue lightslategray lightslategrey lightsteelblue lightyellow limegreen linen magenta mediumaquamarine mediumblue mediumorchid mediumpurple mediumseagreen mediumslateblue mediumspringgreen mediumturquoise mediumvioletred midnightblue mintcream mistyrose moccasin navajowhite oldlace olivedrab orange orangered orchid palegoldenrod palegreen paleturquoise palevioletred papayawhip peachpuff peru pink plum powderblue rebeccapurple rosybrown royalblue saddlebrown salmon sandybrown seagreen seashell sienna skyblue slateblue slategray slategrey snow springgreen steelblue tan thistle tomato transparent turquoise violet wheat whitesmoke yellowgreen
Linerequired
Text2

A text to color.

Linerequired