I have two related questions.<br><br>I have a Vector layer with a few polygon features.<br><br>I assign some coloring to the polygons using a SLD file (using OpenLayers.Format.SLD().read())<br>This works fine.<br>When I select a feature I want to change the color of the outline but not the fill color.<br>

I'm using this piece to define the select style:<br>    styleMap: new OpenLayers.StyleMap({ <br>      "select": new OpenLayers.Style(OpenLayers.Util.applyDefaults({<br>        strokeColor: "gray",<br>

        graphicName: "square"<br>      }, OpenLayers.Feature.Vector.style["select"]))<br>    })<br clear="all"><br>The above code will fill my feature with blue, but I want to retain the original color.<br>

Q1: How do I do that?<br><br>I'm also showing the data of the features in a table. I want to give each row of the table a background color that corresponds with the feature.<br>I was looking for something like this:<br>

<pre style>wfsLayer.features[0].FillColor</pre>but that is not working. <br>Q2: How can I get the fill color of a feature?<br><br>Thanks,<br>
<br>
Paul<br>