docs: def is_valid_rgb_color(value):
      """Checks whether the value is a valid rgb or rgba color string.
  
      Valid colors consist of:
  
      - rgb(255, 255, 255)
      - rgba(23, 34, 45, .5)
      """
      if not value:
          return False
  
      regex = re.compile(RGB_COLOR_REGEX)
      return bool(regex.match(value))