Template:Graph color: Difference between revisions
Template page
More actions
Created page with "<includeonly>{{#if: {{{cont|}}} | {{vcolor | hex=y | {{{1|}}} | {{{2|}}} | {{{3|}}} | {{{4|}}} | {{{5|}}} }} | {{#switch: {{#expr: {{{1|}}} - {{{2|1}}} }} | 0=#377EB8 | 1=#5FD35B | 2=#713A7A | 3=#FF7F00 | 4=#FFFF33 | 5=#A65628 | 6=#F781BF | 7=#777777 | 8=#7DEDC9 | 9=#D67653 | 10=#7281A3 |..." |
(No difference)
|
Latest revision as of 01:51, 19 February 2025
This template returns colour codes (in hex format) for use in graphs.
Usage
{{graph color|1}}
→ #377EB8{{graph color|2}}
→ #5FD35B{{graph color|3}}
→ #713A7A{{graph color|20|18}}
→ #713A7A
{{graph color|cont=y|50|0|100}}
→ #7f7f7f