function rgbToHex (shared-side)
Available since version: 0.3.0
Convert rgb color to hex representation.
Declaration
string rgbToHex(int r, int g, int b)
Parameters
intr: Red color component in RGB model.intg: Green color component in RGB model.intb: Blue color component in RGB model.
Returns string
Lower case hexadecimal representation of rgb color.