Modèle:Couleur
De Omnis Bibliotheca
Fonctionnalité[modifier]
Retourne la valeur de couleur correspondant au paramètre comme indiqué dans la table ci-dessous.
ATTENTION : ne pas écrire avec des majuscules le nom des couleurs !!!
adeptus battlegrey
astronomican grey
badmoon yellow
bestial brown
blazing orange
bleached bone
blood red
boltgun metal
bronzed flesh
bubonic brown
burnished gold
brazen brass
dark angel green
dheneb stone
dwarf flesh
camo green
calthan brown
catachan green
chainmail
chaos black
charadon granite
codex grey
commando khaki
desert yellow
dark flesh
dwarf bronze
elf flesh
enchanted blue
fenris grey
fiery orange
fortress grey
goblin green
golden yellow
graveyard earth
gretchin green
hormagaunt purple
hawk turquoise
ice blue
iyanden darksun
khemri brown
knarloc green
liche purple
macharius solar orange
mechrite red
midnight blue
mordian blue
necron abyss
orkhide shade
rotting flesh
regal blue
red gore
scab red
scaly green
scorched brown
scorpion green
shadow grey
shining gold
skull white
snakebite leather
snot green
sunburst yellow
space wolf grey
tallarn flesh
tanned flesh
tausept ochre
tentacle pink
terracotta
tin bitz
ultramarine blue
vermin fur
vomit brown
warlock purple
Exemples[modifier]
Exemple simple[modifier]
Code:
{{couleur|vermin fur}}
Rendu:
#904f2e
Exemple d'utilisation[modifier]
Code:
<div style="background: {{couleur|mordian blue}}; border: 4px solid {{couleur|space wolf grey}}; color: {{couleur|hawk turquoise}}; padding: 20px;">TOTO</div>
Rendu:
TOTO
Exemple d'utilisation[modifier]
Code:
<div style="background: linear-gradient(90deg, {{couleur|midnight blue}}, {{couleur|mordian blue}}, {{couleur|shadow grey}}); box-shadow: inset 5px 5px 15px {{couleur|hawk turquoise}}; padding: 20px;">TOTO</div>
Rendu:
TOTO