Click here to Skip to main content
15,887,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Actually i using color extender tool to generate the colors....while i'm picking the colors, this tools return only hexadecimal values ...but i need to generate color name too...How to generate color name from this hex or RGB values????
Posted
Updated 12-Dec-12 19:21pm
v3

You will have to cross reference the RGB values in a lookup table which contains the RECOGNISED colors
 
Share this answer
 
Comments
Deenuji 13-Dec-12 1:28am    
yaa. but i need to generate colors name while i'm picking the colors in that table!!!!
Zaf Khan 13-Dec-12 1:46am    
Only RECOGNISED colors will be Recognised!

If you name a color something like Silver Ribbon or Jet Blue if its not recognised then it wont be of any use because it wont be recognised.

You can find recognised colors on W3Schools.com
link: http://www.w3schools.com/html/html_colornames.asp


 
Share this answer
 
Comments
Deenuji 13-Dec-12 3:16am    
it doesn't return the color name........
Suvabrata Roy 13-Dec-12 3:23am    
http://stackoverflow.com/questions/7791710/convert-hex-code-to-color-name

try this

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900