G'day return0,
While the Curses::UI::Color documentation is accurate when it says "The RGB values can be between 0 and 1000.", it's misleading as it doesn't indicate that's an exclusive range: the actual range of numbers available to you is 1..999.
A pragmatic solution would be to use 1 instead of 0: the difference in colour would be imperceptible to the human eye. Alternatively, if the exact colour is important, you could modify the module.
More as an afterthought, it's possible the RGB values you need for orange are more like 999,599,1 (I think 255,155,0 would be very dark). I'll leave you to experiment.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.