I have a svg file that contains some css classes in this format
<style type="text/css" id="style1">
<![CDATA[
.fill1 {fill:#D2D3D5}
.fill2 {fill:#A9ABAE}
.fill3 {fill:#96989A}
]]>
</style>
The svg file is displayed in an HTML file by using the following tag.
<object id="testObject" type="image/svg+xml" data="img/test.svg"></object>
Is there some way for me to get fill value of fill1,fill2 and fill3 using javascript or jquery. Also would it be possible to change these fill colors?