Template:Hex3/doc

Usage
Converts three 8-bit numbers to hexadecimal. Useful for all sorts of color-related nefarious purposes. This template can be substituted.


 * Input
 * three parameters, each numeric in the range 0..255 (larger numbers will wrap around)
 * (optional) allows you to change or remove the prefix for hex numbers (such as #) ; the default prefix is " #" (with a leading space to avoid the internal interpretation by MediaWiki as a numbered list item when returning the value from the template; this space does not alter the CSS validity of the value).


 * Output
 * a triplet of two-digit hex numbers

Examples

 * gives
 * gives #000000
 * gives
 * gives #7B2D43
 * gives
 * gives #FFFFFF