Template:Colored text/doc

From Space Station 14 Wiki
Revision as of 13:16, 9 August 2024 by Aliser (talk | contribs) (Created page with "=== Colors === ==== {{Colored text|red|Red}} text using one of the predefined CSS colors: <code>red</code> ==== <syntaxhighlight lang="mediawiki">{{Colored text|red|hello world, I'm red}}</syntaxhighlight> This text {{Colored text|red|hello world, I'm red}} has a custom color. ==== {{Colored text|#ffd700|Gold}} text using hex code for gold: <code>#ffd700</code> ==== <syntaxhighlight lang="mediawiki">{{Colored text|#ffd700|GOLD GOLD GOLD}}</syntaxhighlight> This text {{C...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.