access css property value
<pre><code>function getSitePallete(Selector) {
    var Selectors = document.styleSheets[8].rules;
    var pallete = new Array();    
    for (var i = 0; i &lt; Selectors.length; i++) {
        for (var j = 0; j &lt; Selectors[i].style.length; j++) {
            if (Selectors[i].style[j] == "color")
                // here i want the value of color property (like if color : #ffffff so i want #ffffff )
        }
    }
}
</code></pre>

<p>I want to access the value of color property.How can i access it?</p>
