New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ANSI bright colors are impossible to use #30
Comments
Good catch, thanks for creating this issue! I think the change would have to go somewhere in here: Line 103 in 9f95d3e
Basically I'm not entirely sure yet what the best implementation would look like - because here Line 43 in 9f95d3e
the colorname is already evaluated and something like bright_red would not be found (it's not a valid X11 color, and it depends on the used color palette anyway.) Maybe we need some kind of logic in Line 43 in 9f95d3e
to determine whether the given RGB should be bright in case of the ANSI_16_COLORS mode ...
Any ideas? |
This Issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Haven't yet had time to think this through / work on it, but commenting on it so the issue isn't closed just yet. |
This Issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
https://github.com/timofurrer/colorful/search?q=rgb_to_ansi16&unscoped_q=rgb_to_ansi16
Though
rgb_to_ansi16
includes ause_bright
parameter, the user has no way of passing a True value to the functionThe text was updated successfully, but these errors were encountered: