I want to convert a color tuple to a color name, like \'yellow\' or \'blue\'
>>> im = Image.open(\"test.jpg\")
>>> n, color = max(im.getcol
A solution to your problem consists in mapping the RGB values to the HSL color space.
Once you have the color in the HSL color space you can use the H (hue) component to map it the color. Note that color is a somewhat subjective concept, so you would have to define which ranges of H corresponds to a given color.