whole_func_string: function rgbToHex(r, g, b) {
    return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);
  }
func_code_string: function rgbToHex(r, g, b) {
    return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);
  }
func_documentation_string: Convert RGB to HEX
  @param {*} r
  @param {*} g
  @param {*} b
  
  @return {*}