Skip to content

Conversation

@lmjohns3
Copy link
Contributor

This adds support for true-color text (using the \033[38;2;RRR;GGG;BBB escape sequence) and 256-color palette (using the \033[38;5;NNN escape sequence). It's backwards compatible with the current string-based colors, but adds a type-checking helper to handle integers or tuples/lists of 3 integers.

@jcrotts jcrotts added this to the 8.0 milestone Dec 3, 2019
@Zethson
Copy link

Zethson commented Jan 8, 2020

Very nice!

This adds support for true-color text (using the \033[38;2;RRR;GGG;BBB
escape sequence) and 256-color palette (using the \033[38;5;NNN escape
sequence). It's backwards compatible with the current string-based
colors, but adds a type-checking helper to handle integers or
tuples/lists of 3 integers.
@davidism davidism merged commit 0d43812 into pallets:master Aug 13, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants