code: def test_rgb_from_hls(self):
      color = 0.5, 0.8, 0.4
      rgb_got = palettes._color_to_rgb(color, "hls")
      rgb_want = colorsys.hls_to_rgb(*color)
      assert rgb_got == rgb_want
  
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 20 for calling the TestColorPalettes obj's underlying member method code with example usage: obj.test_rgb_from_hls() without return types