Recommended

Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 1 result for hexidecimal color.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Martin Mihaylov  on  Sep 07, 2008 (more than a year ago)

    A definition of a color in hexidecimal format looks like this: #000000 for black and #ffffff for white. The first two symbols represent the value for red, the second two - for green and the last two - for blue. (If you're not familiar with the Hexidecimal numeral system take a look at this.) Changing these values we can get every color we like. But as you probably know the colors in Silverlight have not only Red, Green and Blue attributes but also an Alpha attribute which determines the transparency of the color.In order to use the Alpha attribute of the color we add two more digits at the start - #00000000 for black with 0% opacity (full transparency) and #ff000000 for black with 100% opacity (no transparency). Changing this value also changes the transparency.

    That's it!




Help us make SilverlightShow even better. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)