The code :
Dim myColor As Color = Colors.Red
Dim colorName As String = myColor.ToString()
Results in :
#FFFF0000
when printing colorName to screen.
Is it possible to get the color name in Silverlight without making a select case on the RGB values?
I developed a very useful ColorFromString class that does exactly that. You can get the code here ColorFromString for Silverlight or NET, or here: