Skip to content
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

DarkGray is lighter than Gray #10228

Open
thekingvon opened this issue Jan 5, 2025 · 3 comments
Open

DarkGray is lighter than Gray #10228

thekingvon opened this issue Jan 5, 2025 · 3 comments
Labels
Priority:3 Work that is nice to have

Comments

@thekingvon
Copy link

thekingvon commented Jan 5, 2025

The brush from Brushes.DarkGray(#FFA9A9A9) is ~32.03% lighter than Brushes.Gray(#FF808080) which doesn't make sense because DarkGray is supposed to be darker than normal gray. This isn't a critical bug nor an issue, it just annoys me for some reason.

@miloush
Copy link
Contributor

miloush commented Jan 5, 2025

I share your frustration, but it is a non-starter to change what a named color means, as it would break existing applications. Furthermore, the names match the CSS names and it is reasonable to keep them aligned.

For some rationale, see the Web colors section at https://en.wikipedia.org/wiki/Grey#Web_colors.
Edit: also https://en.wikipedia.org/wiki/X11_color_names#Clashes_between_web_and_X11_colors_in_the_CSS_color_scheme

@harshit7962 harshit7962 added the Priority:3 Work that is nice to have label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:3 Work that is nice to have
Projects
None yet
Development

No branches or pull requests

4 participants
@miloush @harshit7962 @thekingvon and others