Binary package “colorname” in ubuntu xenial

utility to associate a name to a color

 colorname tries to assign a name to a color using external color
 definitions and a little math.
 .
 For this it calculates the Euclidean distance between the currently
 selected color and all predefined colors, either in the YIQ, RGB or
 HSV color space.