code: def test_rgb_from_husl(self):
      color = 120, 50, 40
      rgb_got = palettes._color_to_rgb(color, "husl")
      rgb_want = tuple(husl.husl_to_rgb(*color))
      assert rgb_got == rgb_want
  
      for h in range(0, 360):
          color = h, 100, 100
          rgb = palettes._color_to_rgb(color, "husl")
          assert min(rgb) >= 0
          assert max(rgb) <= 1
  
imports: import colorsys
  import numpy
  import matplotlib
  import pytest
  import numpy.testing
  from seaborn import palettes, utils, rcmod
  from seaborn.external import husl
  from seaborn._compat import get_colormap
  from seaborn.colors import xkcd_rgb, crayons
label_desc: Use image node_id 21 for calling the TestColorPalettes obj's underlying member method code with example usage: obj.test_rgb_from_husl() without return types