def RGBStringToList(rgb_string):
  """Convert string "rgb(red,green,blue)" into a list of ints.

  The purple air JSON returns a background color based on the air
  quality as a string. We want the actual values of the components.

  Args:
    rgb_string: A string of the form "rgb(0-255, 0-255, 0-255)".

  Returns:
    list of the 3 strings representing red, green, and blue.
  """
  return rgb_string[4:-1].split(',')