def METHOD_NAME(self):
    """Test to_css_color with bad inputs."""
    test_args = list(invalid_colors)
    # Checking for this in our code is not worth the cost.
    test_args.remove("#0z0")
    # This is only unsupported as user input, but it its used internally.
    test_args.remove("rgb(1, 2, 3)")
    for test_arg in test_args:
        with self.assertRaises(color_util.InvalidColorException):
            color_util.to_css_color(test_arg)