模板:Background color:修订间差异
外观
wiki>Tactica 小 Specifically use black color for the foreground to fix a lint error. |
小 导入1个版本 |
| (未显示同一用户的1个中间版本) | |
(没有差异)
| |
2025年12月19日 (五) 23:43的最新版本
Usage
- {{Bgc}} redirects here.
- Examples
- 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
- ↑ Taken from https://jacksonlab.agronomy.wisc.edu/2016/05/23/15-level-colorblind-friendly-palette/ and then low-contrast combinations removed