def rgb2hex(r, g, b):
    """Converts RGB values into Hexadecimal
    
    Reference
    ---------
    
    https://stackoverflow.com/a/43572620/8765762
    """
    return '#{:02x}{:02x}{:02x}'.format(r, g, b)
