Difference between revisions of "Template:ColorMath"
Jump to navigation
Jump to search
m (The purpose of this template is to populate the hex and) |
m |
||
Line 16: | Line 16: | ||
}}}}<noinclude> | }}}}<noinclude> | ||
Parameters: | Parameters: | ||
* 1 = r [0, 255] | * 1 = r [0, 255] |
Revision as of 12:56, 17 August 2014
Parameters:
- 1 = r [0, 255]
- 2 = g [0, 255]
- 3 = b [0, 255]
- hex = #rrggbb - "#" is optional
Output:
- {{#var:hex}} - html style color integer, without "#"
- {{#var:vector}} - LSL style vector with values [0, 1]