locked
Colors RRS feed

  • Question

  • I grabbed this from an example on line...and it works fine.

    headerCell.Interior.Color = &HFF00

    I tried to replace the color with a Hex value and I get an error on the #

    headerCell.Interior.Color = #B3B3B3

    WHERE can I find a list of colors and values that I can use to represent them? 
    Is silverlight using Hex colors?

    Thanks

    Tuesday, August 16, 2011 10:06 AM

Answers

  • WHERE can I find a list of colors and values that I can use to represent them? 
    Is silverlight using Hex colors?

    here is the link

    http://msdn.microsoft.com/en-us/library/system.windows.media.color%28v=vs.95%29.aspx

    hope that will help.

    Mark it as answer if it helps you.

    Tuesday, August 16, 2011 10:26 AM

All replies

  • And this works!   cellFirstName.Font.Color = 3399

    What the heck is 3399 and/or how was this derived as a color...3

    Is there a simple easy loaction that I can go to to look up colors and get a code

    Tuesday, August 16, 2011 10:08 AM
  • WHERE can I find a list of colors and values that I can use to represent them? 
    Is silverlight using Hex colors?

    here is the link

    http://msdn.microsoft.com/en-us/library/system.windows.media.color%28v=vs.95%29.aspx

    hope that will help.

    Mark it as answer if it helps you.

    Tuesday, August 16, 2011 10:26 AM