Templat:Background color
Tampilan
(Dialihkan dari Templat:Bg)
Penggunaan
[sunting sumber]{{Background color|<color>|<text>}}
Web colors provides a list of colors which can be used. Simple colors, like black, blue, red, green, etc. can just be spelled out. Alternatively, colors can be specified using either RGB or hex notation.
Contoh
[sunting sumber]
results in Hello, world!{{Background color|red|Hello, world!}}
results in Hello, world!{{Background color|#00F000|Hello, world!}}
Lihat pula
[sunting sumber]- {{Color}} – sets text color only
- {{Font color}} – sets both text and background color
- {{Color contrast ratio}}
- {{Hilite}} – sets background color, with an optional expiry date
- {{Resize}}