find the colour name from a hexadecimal colour code

Posted by sree01 on Stack Overflow See other posts from Stack Overflow or by sree01
Published on 2010-03-16T09:57:33Z Indexed on 2010/03/16 10:16 UTC
Read the original article Hit count: 406

Filed under:
|

Hi , i want to find the name of a colour from the hexadecimal colour code. When i get a hex colour code i want to find the most matching colour name. for example for the code #c06040 , how to find out if it is a shade of brown, blue or yellow ?. so that i can find the colour of an object in the image without human intervention.

Is there any relation between the hexadecimal code of the shades of a colour? please give some sample code if there is any.

© Stack Overflow or respective owner

Related posts about image-processing

Related posts about python