-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Why are "cornflowerblue" and "cornflower blue" different colors? #15
Comments
The first color 100 149 237 matches
https://en.wikipedia.org/wiki/Cornflower_blue
However it seems multiple colors go under "cornflower blue".
Open this pages and search for "cornfl" .
That said, I think the 100 149 237 is the "standard" one.
/Jens Axel
Den lør. 19. jan. 2019 kl. 23.27 skrev Alex Knauth <notifications@github.com
…:
There are several places in racket/draw/private/color.rkt where two names
differ by a space, but are defined as the same color. However,
"cornflowerblue" and "cornflower blue" seem to break this pattern. Is
there a reason why they are different?
Definition of "cornflowerblue":
https://github.com/racket/draw/blob/master/draw-lib/racket/draw/private/color.rkt#L143
("cornflowerblue" . #(100 149 237))
[image: #6495ed]
<https://camo.githubusercontent.com/f1dc7d79c61ad0492b2eb7fa11ef3504b509b243/68747470733a2f2f706c616365686f6c642e69742f31352f3634393565642f3030303030303f746578743d2b>
Definition of "cornflower blue":
https://github.com/racket/draw/blob/master/draw-lib/racket/draw/private/color.rkt#L249
("cornflower blue" . #(68 64 108))
[image: #44406c]
<https://camo.githubusercontent.com/64c6d5b5256578df0765e402008496ef056dcfd0/68747470733a2f2f706c616365686f6c642e69742f31352f3434343036632f3030303030303f746578743d2b>
It looks like "cornflowerblue" without the space has the same RGB values
as the X11 cornflower blue on
https://en.wikipedia.org/wiki/Cornflower_blue, so where do the RGB values
for "cornflower blue" with the space come from? Is it a mistake or
intentional?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#15>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAcLxWzb1CUCzLZd3xbpmXYS9WwHWO2bks5vE5vGgaJpZM4aJXS6>
.
--
--
Jens Axel Søgaard
|
Thanks, I edited to specify that it matches the X11 cornflower blue from that page. |
A similar thing happened with The X11 definition of cadet blue seems to use the |
Per PR 16, it was decided that the differences should be maintained (for some reason). Can someone explain that in a better way, then close this issue? (since I am tempted to just make a PR to standardize to the X11 colors, but that is The Wrong Thing, I don't want others to make the same mistake.) |
The reason not to change is that existing programs (eg slides or image generators or web pages etc) might use the colors, and standardizing would change the behavior of those programs and make the results look different and potentially worse. |
There are several places in
racket/draw/private/color.rkt
where two names differ by a space, but are defined as the same color. However,"cornflowerblue"
and"cornflower blue"
seem to break this pattern. Is there a reason why they are different?Definition of
"cornflowerblue"
:https://github.com/racket/draw/blob/master/draw-lib/racket/draw/private/color.rkt#L143
Definition of
"cornflower blue"
:https://github.com/racket/draw/blob/master/draw-lib/racket/draw/private/color.rkt#L249
It looks like
"cornflowerblue"
without the space has the same RGB values as the X11 cornflower blue on https://en.wikipedia.org/wiki/Cornflower_blue, so where do the RGB values for"cornflower blue"
with the space come from? Is it a mistake or intentional?The text was updated successfully, but these errors were encountered: