Posted on: 10/15/2012 2:06:56 AM | Views : 471

Let's say I have Color.Yellow
I transform it with Color.ToArgb() to convert it to an integer;
I store that value in a database;
I read the database value back into a Color structure with Color.FromArgb();
The Color structure now no longer has its "Name" field and is not recognized as Color.Yellow despite having the correct ARGB values.
Is there a function to recover the "Yellow" (a KnownColor type, I suspect) from the ARGB values?
Thanks!
 

...

Go to the complete details ...