convert command and rgb values?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
vbsaltydog

convert command and rgb values?

Post by vbsaltydog »

I am using -draw to annotate some images and the -fill is how I am setting my text color but the database that I have to work from is full of rgb values for the colors. Is there a way to pass rgb values to -fill within the convert command or any other way to read rgb values in and get their hex value?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: convert command and rgb values?

Post by magick »

ImageMagick accepts RGB triples, for example, -fill 'rgb(19,101,219)'.
vbsaltydog

Re: convert command and rgb values?

Post by vbsaltydog »

perfect .... thanks.
Post Reply