def _parse_svg_color(color):
    """Return RGB integers from Inkscape color.

    @type color: `str`
    @rtype: `tuple` (triplet)
    """
    if color[0] != '#':
        raise Exception('only hash-code colors are supported!')
    red = int(color[1:3], 16)
    green = int(color[3:5], 16)
    blue = int(color[5:7], 16)
    return (red, green, blue)