asp.net 2.0, c#.
I am doing a survey on line. I have a drop down list of colors, and I allow an 'other' string value text box where they can enter in the string name of a color. For those colors in the drop down list, I will already have the hexadecimal values in the code. When the user enters in a string value for a different color, I want to be able to translate that string to a hexadecimal value that I can then use in a Google bar chart, to actually change the color of each bar in the chart.
I guess I could take all the values in this link...http://www.w3schools.com/css/css_colornames.asp
, and put key them into a table in my database, and then do a look-up on that table, but are there other ways to do this? Can I do a call to anything anywhere that would get the hexadecimal value that I would need, or what?