Template:Color scale
#000000
Usage
Used to create a colour hex code based on a value. Can be used for colour scales from numbers. <syntaxhighlight lang="wikitext"> <span class="tmp-color" style="color:#expressionerror: Unrecognized word "minimum".expressionerror: Unrecognized word "minimum".expressionerror: Unrecognized word "minimum".">#expressionerror: Unrecognized word "minimum".expressionerror: Unrecognized word "minimum".expressionerror: Unrecognized word "minimum". </syntaxhighlight>
Example 1, red scale
<syntaxhighlight lang="wikitext"> #000000 #4C0000 #990000 #E50000 </syntaxhighlight> produces → #000000 #4C0000 #990000 #E50000
Example 2, mixed scale
<syntaxhighlight lang="wikitext"> #FF6D00 #D45B04 #AA4809 #7F360E #552413 #2A1218 </syntaxhighlight> produces → #FF6D00 #D45B04 #AA4809 #7F360E #552413 #2A1218