def rgbHex(r, g, b: int):
    """
    rgb to hex converter
    Arguments: r = red channel
               g = green channel
               b = blue channel

    Pass in the Value sequentialy
    """
    assert r <= 255 and r >= 0
    assert g <= 255 and g >= 0
    assert b <= 255 and b >= 0
    r = format(r, 'x').zfill(2)
    g = format(g, 'x').zfill(2)
    b = format(b, 'x').zfill(2)
    hex_string = '#%s%s%s' % (r, g, b)
    return hex_string
