Template:Background color/doc

From Bonkipedia
< Template:Background color
Revision as of 19:39, 13 September 2018 by [[mw:]]>Quiddity (WMF) (rm 1, add ref)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

  • {{bgc}} redirects here.
Examples
  • {{bgc|yellow|foo}} = foo
  • {{bgc|#FFA8A8|foo}} = foo
  • {{bgc|#FFA8A8|foo|m}} = foo
Parameters
  • 1st or c = color
  • 2nd or t = text
  • m = monospace font
Color suggestions
  • Refer to Design/Typography#Text color for details on accessible color choices.
  • These colors should be fine[1]:
  • {{bgc|#ff6db6|foobar}} = foobar
  • {{bgc|#ffb6db|foobar}} = foobar
  • {{bgc|#b66dff|foobar}} = foobar
  • {{bgc|#6db6ff|foobar}} = foobar
  • {{bgc|#b6dbff|foobar}} = foobar
  • {{bgc|#db6d00|foobar}} = foobar
  • {{bgc|#24ff24|foobar}} = foobar
  • {{bgc|#ffff6d|foobar}} = foobar