3d Paint Ui, Color Picker

Hello I've made an UI for a tool I've written using 3D paint, it makes it possible to toggle between a Cgfxshader and a lambert shader. To finish of the tool, I would like to make 4-pre made buttons for choosing paint color, but on this I fail.

Can't find any information of how to reach this attribute in the documentation or Online, is it possible

Thankful for answers
Mattias Adolfsson
Mattias Inks

color in 3d paint or cgfx node?

no color attribute on art3dPaintCtx as I can read it, echoing the command does nothing as well. I can use the ordinary picker but having pre made would help a lot.

Yes well thing is contexts dont ussualy carry this sort of info at all. NO maya at hand but it is very simply echoed its just taht you dont have the exact gripes yet to dig all relevant stuff out of the log, yet

Mostly a context is just the handle for the tool to be activated, its not a storeage facility. its just like a real brush the color is not in the brush but the bucket.