{{{2}}}

Mostly for use on talk pages when discussing color.

{{swatch-inline|RED}} gives {{{2}}}
{{swatch-inline| #00FF00}} gives {{{2}}}
{{swatch-inline|gold|Au}} gives Au

RED is a color direct name and #00FF00 is a triplet.