Modèle:MesCouleurs
Un article de Livingstone.
{{ #if: {{{type}}} | {{ #ifeq: {{{type}}}|bg | fff | {{ #ifeq: {{{type}}}|fg | 000 | {{ #ifeq: {{{type}}}|light | ccc | {{ #ifeq: {{{type}}}|dark | 666 | 999 }}
{{ #switch:
| rouge =fed
| jaune =efd
| vert =dfe
| cyan =def
| bleu =edf
| magenta =fde
| #default =fff
}}
| fg =
{{ #switch:
| rouge =630
| jaune =360
| vert =063
| cyan =036
| bleu =306
| magenta =603
| #default =000
}}
| light =
{{ #switch:
| rouge =fc9
| jaune =cf9
| vert =9fc
| cyan =9cf
| bleu =c9f
| magenta =f9c
| #default =fff
}}
| dark =
{{ #switch:
| rouge =c60
| jaune =6c0
| vert =0c6
| cyan =06c
| bleu =60c
| magenta =c06
| #default =666
}}
| #default =
{{ #switch:
| rouge =f00
| jaune =ff0
| vert =0f0
| cyan =f0f
| bleu =00f
| magenta =f0f
| #default =999
}}
}} ⇐