def convert(color):
    """Get (0-1, 0-1, 0-1) color code and converts it to (0-255, 0-255, 0-255).

    Parameters
    ----------
    color : tuple
        RGB code in format (0-1, 0-1, 0-1)

    Returns
    -------
    list
        a list representing RBG color code in format (0-255, 0-255, 0-255)
    """
    return [int(x * 255) for x in color]