Open daxim opened 11 years ago
Please add support and come up with an API for the 38;2;r;g;b and 48;2;r;g;b codes, see http://enwp.org/ANSI_escape_code#Colors
38;2;r;g;b
48;2;r;g;b
What about using an array ref [$red, $green, $blue], where each element in the array is an integer between 0 and 255? For example: my $yellow_text = fg([255,255,0], 'this is in yellow');
[$red, $green, $blue]
my $yellow_text = fg([255,255,0], 'this is in yellow');
Please add support and come up with an API for the
38;2;r;g;b
and48;2;r;g;b
codes, see http://enwp.org/ANSI_escape_code#Colors