def _get_color_from_color_node(color):
    """Gets the color from the color node in the template.

    Args:
        color (tuple): The color's channel values expressed in a range from 0..1

    Returns: The color for the node.

    """
    r = int(color["r"] * 255)
    g = int(color["g"] * 255)
    b = int(color["b"] * 255)
    a = int(color["a"] * 255)
    return r, g, b, a