code: def test_colormap():
      assert (0, 0, 0) == ImageColor.getrgb("black")
      assert (255, 255, 255) == ImageColor.getrgb("white")
      assert (255, 255, 255) == ImageColor.getrgb("WHITE")
  
      with pytest.raises(ValueError):
          ImageColor.getrgb("black ")
  
file_path: pillow/Tests/test_imagecolor.py
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImageColor
label_desc: Use image node_id 2 for calling a global function with example usage: test_colormap() without return types