in reply to Re: 'rgb_palette' - Term::ANSIColor Helper
in thread 'rgb_palette' - Term::ANSIColor Helper
G'day Tux,
++ Thanks for this wealth of information. I played with everything but don't have time to go into it all, in any great depth, right now (it's late evening here): some funtime ahead for the weekend.
At the outset, I'll say that I pretty much agree with what you said regarding light & dark backgrounds. In addition, I'm cognisant of accessibility issues (colour blindness, contrast, and so on).
At the start of this thread, I said that I didn't find the rgbRGB codes intuitive. Initially, this script simply printed a 6x6x6 grid of those codes and the colours they represented. At that point, it was just a quick-and-dirty piece of code to help me with that.
I then found the rNNNgNNNbNNN codes and realised, somewhat surprisedly, that I could use them. The script progressed from there, through multiple iterations, to what you see above. It was only after completion that I thought, "Others might find this useful; I should share".
For your, and indeed anyone else's, light background, I think you may just need to make some very minimal changes: for instance, white to black (2 instances; 3 if you've changed fg()) and cyan to green (1 instance). Alternatively, you could use "on_black" for all of the text; although, I think that might end up looking a little messy. If you do make such changes, I'd appreciate feedback on your choices.
— Ken
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: 'rgb_palette' - Term::ANSIColor Helper
by Tux (Canon) on Aug 17, 2022 at 13:57 UTC | |
by kcott (Archbishop) on Aug 17, 2022 at 23:02 UTC | |
Re^3: 'rgb_palette' - Term::ANSIColor Helper -- rant about IO::Prompter
by Discipulus (Canon) on Aug 18, 2022 at 08:59 UTC | |
by hippo (Archbishop) on Aug 18, 2022 at 10:33 UTC |