in reply to [Unresolved] Curses::UI define_color
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.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Curses::UI define_color
by return0 (Acolyte) on Apr 16, 2013 at 12:05 UTC |