Jump to content

Template:Colortext

From Consumer Rights Wiki
Revision as of 21:50, 7 July 2025 by Fen (talk | contribs) (Created page with "<includeonly><span style="color:{{{1}}};">{{{2}}}</span></includeonly><noinclude> This template renders the given text in a specified color. ===Usage=== <code><nowiki>{{color|#000|Hello}}</nowiki></code> → {{color|#000|Hello}} ===Notes=== * You can use either a named CSS color (like `red`) or a hex code (like `#ff0000` or shorthand `F00`). * Always wrap hex codes with a `#` when possible for clarity and standards compliance. Category:Styling templatess </noinc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template renders the given text in a specified color.

Usage

{{color|#000|Hello}}Template:Color

Notes

  • You can use either a named CSS color (like `red`) or a hex code (like `#ff0000` or shorthand `F00`).
  • Always wrap hex codes with a `#` when possible for clarity and standards compliance.