code: def test_color(name: str, R: int, G: int, B: int) -> None:
      assert name in bcn.__all__
      c = getattr(bcn, name)
      assert (c.r, c.g, c.b) == (R, G, B)
      assert c.a == 1.0
  
imports: from __future__ import annotations
  import pytest
  import bokeh.colors.named
label_desc: Use image node_id 2 for calling a global function with example usage: test_color(name, R, G, B) without return types