class_docstr: A wrapper for functionality surrounding a list of colors, including a
  context manager that allows the palette to be set with a with statement.
class_docstr_tok: ["A","wrapper","for","functionality","surrounding","a","list","of","colors",",","including","a","context","manager","that","allows","the","palette","to","be","set","with","a","with","statement","."]
docstr: Return a color palette with RGB values instead of hex codes.
docstr_tok: ["Return","a","color","palette","with","RGB","values","instead","of","hex","codes","."]
code: def as_rgb(self):
      """
      Return a color palette with RGB values instead of hex codes.
      """
      rgb = [mpl.colors.colorConverter.to_rgb(hex) for hex in self]
      return ColorPalette(rgb)
  
file_path: yellowbrick/yellowbrick/style/palettes.py
imports: import numpy
  import matplotlib
  import matplotlib.pyplot
  import matplotlib.colors
  from itertools import cycle
  from .colors import get_color_cycle
  from yellowbrick.exceptions import YellowbrickValueError
label_desc: Use image node_id 5 for calling the ColorPalette obj's underlying member method code with example usage: obj.as_rgb() and returns: ColorPalette