def convert_gdk_rgba_to_hex(color):
    """
    Converts Gdk.RGBA to hexadecimal value.

    :param color: the Gdk.RGBA object to convert
    :type color: gi.overrides.Gdk.RGBA
    """
    return '#{}{}{}{}'.format(hex(int(255 * color.red)).replace('0x', ''),
        hex(int(255 * color.green)).replace('0x', ''), hex(int(255 * color.
        blue)).replace('0x', ''), hex(int(255 * color.alpha)).replace('0x', '')
        )
