make new default entry with rgb color value?

I’d like to be able to save rgb color values to a plist and recall it.
something like:
“make new default entry at end of default entries of user defaults with properties {name:“TextColor”, contents:”{65535, 65535, 65535}“}”
"
set myColor to color of color panel
set text color of text field “Text1” of window “main” to myColor
set contents of default entry “TextColor” of user defaults to myColor
"

set text color during a awake from nib.

what i have working is the ability to save plists and recall them as custom settings.

any suggestions?

thanks,

thestrumone

You might try using Binding to set and save the color values, see http://macscripter.net/viewtopic.php?id=16298