-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[termcolor] Add gray colors #754
Comments
Light-gray is a non-intense white, and dark-gray is an intense black, on windows, and it also looks like that's true with dracula on linux. |
I don't know about Windows, but on UNIX systems, the first 16 ANSI colours are almost always user-configurable, and it's common to have 'white' ( Above the first 16, there are 240 more numbered colours, with Then there's also 'true' RGB colour, where you can specify an exact value like in CSS or whatever. These are never configurable, and are thus even more risky for anyone but the end user to mess with. (On top of that, some terminals don't support 256/RGB colours at all, though all of the major ones do, except the Linux console i think.) So i don't think it's a good idea to use colours outside of the standard 16 as hard-coded or even default values in something that's intended for other people to use (though there's no harm in giving them the option to do it themselves, obv). Anyway... |
As @quadrupleslap has pointed out, we can get shades of gray using the |
Original issue: rust-cli/env_logger#59
It would be nice to have a gray variant in the
Color
enum, if it's possible. I think on Windows you can bit-twiddle yourself a gray and dark gray.cc: @quadrupleslap
The text was updated successfully, but these errors were encountered: