Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can we use hex or RGB colors for foreground/background ?

323240Oct 18 2002
I was trying to use a color using:

srw.set_foreground_color('r88g87b100') and I get a black fill. Is it becuase it does not recognize this format. However by doing some trial and error I was able to produce different fill colors by playing with the RGB values. I don't understand why for certain combinations it fills with black.

The colors I am interested in are:

HEX RGB
00274B R0G39B75 (DARK SHADE OF BLUE)
B3B9C5 R179G185B197 (LIGHT BLUE)
EFE3B9 R239G227B185 (TAUPE ??)
EBECF1 R235G236B241 (??)

Any ideas. Where can I find the list of all colors that I can use in the parameter field for set_foreground_color kind of functions. I believe we can use the color name followed by the weight like, gray4, gray8 etc.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 18 2002
Added on Oct 18 2002
2 comments
1,018 views