Mike,
That's a good question.
You can see the 'html string' for color when picking it in the dialog that Opus uses in its EDITOR. But almost all the references ( I've seen ) in Opus commands stick with RGB or colourname.
Quote:
Or even getting the background colour of the users selection?
Take a look at one of the Sample Publications "Opus v6 New Features". In there is a demo Page for color swatch demo which might answer this. Another page brings up 'picker' for User...by calling a DLL. I think the DLL is DW's own and not a windows tool.
Quote:
convert the RGB decimal value to a RGB hex value? or, is there a method of converting the font colour using a RGB decimal value?
I don't know.
Others may have some answers.
Try a Search in this forum for RGB and see what you come up with.
You probably already have a cross-reference. But while we're on the subject, others may find these links useful --- a couple 'color' pages. One has some suggested VB code for a converter ( don't know if that could be adapted in Opusscript... anyone?). I'd also note that Opus seems to take only the "basic 16" colornames (and the DW folks like to say "colour"... odd behavioUr that.)
http://tinyurl.com/63q6hm from
www.globalvillage.net Web-Safe-Color-Chart
http://www.tek-tips.com/viewthread.cfm? ... 29&page=10 (VB code mid-page)
So, Welcome to the Forum and all the fun of Opus creativity. Do check back for more reply posts and ideas... they tend to build here. Also, please let us know at the end what you find that works.
Cheers.