I am trying to alter colors in an SVG with JavaScript. Is this possible? Can I load it as an object and then somehow have access to the color and image data?
Here's a full example that shows how to modify the fill color of an svg referenced via <embed>, <object> and <iframe>.
Also see How to apply a style to an embedded SVG?