colorpicker

Is it possible to use colorpicker from settings to get the color? i.e.

<setting id=”custom_color” type=”action” label=”color1″ action=”RunScript(script.skin.helper.service,action=colorpicker,,winproperty=XXX)”/>

it opens the colorpicker window, but how to get the result in settings? this can work only from skin, right?