Difference between revisions of "Template:Hex interpolate"
Jump to navigation
Jump to search
Kevin Wang (talk | contribs) (Created page with "<onlyinclude>{{#vardefine:hex1|{{Omit|ghijklmnopqrstuvwxyz|{{{1|000000}}}}}}}<!-- -->{{#vardefine:sliced-hex1|{{#sub:{{#var:hex1}}|0|6}}}}<!-- -->{{#vardefine:normalized-hex1|...") |
Kevin Wang (talk | contribs) |
||
Line 45: | Line 45: | ||
| bgcolor={{Hex interpolate|90e077|ffffff|fraction=1}} | {{Hex interpolate|90e077|ffffff|fraction=1}} | | bgcolor={{Hex interpolate|90e077|ffffff|fraction=1}} | {{Hex interpolate|90e077|ffffff|fraction=1}} | ||
|- | |- | ||
− | | bgcolor={{Hex interpolate| | + | | bgcolor={{Hex interpolate|e09292|ffffff|fraction=0}} | {{Hex interpolate|e09292|ffffff|fraction=0}} |
− | | bgcolor={{Hex interpolate| | + | | bgcolor={{Hex interpolate|e09292|ffffff|fraction=0.2}} | {{Hex interpolate|e09292|ffffff|fraction=0.2}} |
− | | bgcolor={{Hex interpolate| | + | | bgcolor={{Hex interpolate|e09292|ffffff|fraction=0.4}} | {{Hex interpolate|e09292|ffffff|fraction=0.4}} |
− | | bgcolor={{Hex interpolate| | + | | bgcolor={{Hex interpolate|e09292|ffffff|fraction=0.6}} | {{Hex interpolate|e09292|ffffff|fraction=0.6}} |
− | | bgcolor={{Hex interpolate| | + | | bgcolor={{Hex interpolate|e09292|ffffff|fraction=0.8}} | {{Hex interpolate|e09292|ffffff|fraction=0.8}} |
− | | bgcolor={{Hex interpolate| | + | | bgcolor={{Hex interpolate|e09292|ffffff|fraction=1}} | {{Hex interpolate|e09292|ffffff|fraction=1}} |
|} | |} |
Revision as of 21:10, 20 June 2022
ffffff
Input | Output |
---|---|
{{Hex interpolate}} |
ffffff |
{{Hex interpolate|000000|ffffff|fraction=0.5}} |
808080 |
{{Hex interpolate|fraction=0}} |
000000 |
0.0 | 0.2 | 0.4 | 0.6 | 0.8 | 1.0 |
---|---|---|---|---|---|
90e077 | a6e692 | bcecad | d3f3c9 | e9f9e4 | ffffff |
e09292 | e6a8a8 | ecbebe | f3d3d3 | f9e9e9 | ffffff |