trapd00r / Term-ExtendedColor

Color screen output using extended escape sequences
https://metacpan.org/release/Term-ExtendedColor
17 stars 5 forks source link

24-bit colours in Konsole #1

Open daxim opened 11 years ago

daxim commented 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

hakonhagland commented 4 years ago

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');