Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Swatch inline/doc: Difference between revisions

Template page
I meant {{code}}; not {{tlc}}
 
m 1 revision imported
 
(No difference)

Latest revision as of 23:56, 9 June 2024

Usage

Mostly for use on talk pages when discussing color.

{{swatch inline|RED}} gives RED
{{swatch inline|Salmon}} gives Salmon
{{swatch inline|#00FF00}} gives #00FF00
{{swatch inline|gold|Au}} gives Au
{{swatch inline|#004800|dark green|white}} gives dark green

RED, gold and white are HTML color names, whereas #00FF00 and #004800 are RGB hex triplets.

See also