docstr: Test to_css_color with bad inputs.
docstr_tok: ["Test","to_css_color","with","bad","inputs","."]
code: def test_to_css_color_fails(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)
  
file_path: streamlit/lib/tests/streamlit/color_util_test.py
imports: import unittest
  from streamlit import color_util
label_desc: Use image node_id 4 for calling the ColorUtilTest obj's underlying member method code with example usage: obj.test_to_css_color_fails() without return types