Can I set "color" of an element via style xml document?

to just set a plain color to elements (mainly just for seeing where they are) I can do this with code

[java]element.getMaterial().setColor(“Color”, ColorRGBA.Red);
element.getMaterial().setTexture(“ColorMap”, null);[/java]

(not sure if this is the preferred/recomending way to do this, but it’s the way i discoverered that works)

I want to try and do this from a style document. I saw where I can comment out the images to remove the color map, but I don’t see how I can add a color. I tried just adding an attribute to the list of attributes called “Color” and making it a type ColorRGBA but it doesnt seem to do anything

Is it possible to do this?