parameters: (rgb_percent_triplet, spec='css3')
return_statement: return rgb_to_name(rgb_percent_to_rgb(rgb_percent_triplet), spec=spec)
docstring: Convert a 3-tuple of percentages, suitable for use in an ``rgb()``
      color triplet, to its corresponding normalized color name, if any
      such name exists.
  
      The optional keyword argument ``spec`` determines which
      specification's list of color names will be used; valid values are
      ``html4``, ``css2``, ``css21`` and ``css3``, and the default is
      ``css3``.
  
      If there is no matching name, ``ValueError`` is raised.
  
      Examples:
  
      >>> rgb_percent_to_name(('0%', '0%', '0%'))
      'black'
      >>> rgb_percent_to_name(('0%', '0%', '50%'))
      'navy'
      >>> rgb_percent_to_name(('85.49%', '64.71%', '12.5%'))
      'goldenrod'
docstring_summary: Convert a 3-tuple of percentages, suitable for use in an ``rgb()``
      color triplet, to its corresponding normalized color name, if any
      such name exists.
docstring_tokens: Convert a 3 - tuple of percentages suitable for use in an rgb () color triplet to its corresponding normalized color name if any such name exists .
function: def rgb_percent_to_name(rgb_percent_triplet, spec='css3'):
      """
      Convert a 3-tuple of percentages, suitable for use in an ``rgb()``
      color triplet, to its corresponding normalized color name, if any
      such name exists.
  
      The optional keyword argument ``spec`` determines which
      specification's list of color names will be used; valid values are
      ``html4``, ``css2``, ``css21`` and ``css3``, and the default is
      ``css3``.
  
      If there is no matching name, ``ValueError`` is raised.
  
      Examples:
  
      >>> rgb_percent_to_name(('0%', '0%', '0%'))
      'black'
      >>> rgb_percent_to_name(('0%', '0%', '50%'))
      'navy'
      >>> rgb_percent_to_name(('85.49%', '64.71%', '12.5%'))
      'goldenrod'
  
      """
      return rgb_to_name(rgb_percent_to_rgb(rgb_percent_triplet), spec=spec)
function_tokens: def rgb_percent_to_name ( rgb_percent_triplet , spec = 'css3' ) : return rgb_to_name ( rgb_percent_to_rgb ( rgb_percent_triplet ) , spec = spec )