Template:RGB/doc

Converts three 8-bit numbers to a "rgb(r,g,b)" value, usable in CSS color properties. This template can be substituted.

Useful for all sorts of color-related nefarious purposes.

Input

 * three parameters, each numeric in the range 0..255 (larger numbers will wrap around)

Output

 * a triplet of two-digit hex numbers

Examples

 *   gives
 *  0  gives rgb(0,0,0)
 *   gives
 *  123  gives rgb(123,45,67)
 *   gives
 *  255  gives rgb(255,255,255)