Skip to content

Specify the color space in all new NumPy brand identity files #386

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

Closed
InessaPawson opened this issue Jan 24, 2021 · 6 comments · Fixed by #404 or numpy/numpy#18698
Closed

Specify the color space in all new NumPy brand identity files #386

InessaPawson opened this issue Jan 24, 2021 · 6 comments · Fixed by #404 or numpy/numpy#18698
Labels

Comments

@InessaPawson
Copy link
Member

InessaPawson commented Jan 24, 2021

@isabela-pf, based on this discussion, let's specify the color space, which is sRGB, in all the files with the new NumPy logo.

@isabela-pf
Copy link
Contributor

Sounds good! Just to clarify, are you asking me to change the way the SVGs are defined?

@InessaPawson
Copy link
Member Author

@isabela-pf Exactly.

@sm-Fifteen
Copy link

Sounds good! Just to clarify, are you asking me to change the way the SVGs are defined?

The SVG spec explicitly says that hex color codes (#CD853F), the rgb() and rgba() functions af well as named colors are all considered sRGB-only color syntaxes unless a color profile is specified. I was pointing it out more in regards to consistency across SVG, CSS, non-vector images and design documents. The sRGB color profile could probably be explicitly declared on SVG files for good measure, but it really shouldn't be neccessary.

@InessaPawson
Copy link
Member Author

The SVG spec explicitly says that hex color codes (#CD853F), the rgb() and rgba() functions af well as named colors are all considered sRGB-only color syntaxes unless a color profile is specified. I was pointing it out more in regards to consistency across SVG, CSS, non-vector images and design documents.

@sm-Fifteen This is a very helpful clarification. Thank you! I’ll file additional issues.

@MarsBarLee Please remember to specify the color profile (sRGB) in the images you are currently working on.

@rgommers
Copy link
Member

In gh-404 @isabela-pf says "I'll go update the logo files and notes on the main NumPy repository as well which should close the issue." so I'll reopen this.

@rgommers rgommers reopened this Feb 24, 2021
@sm-Fifteen
Copy link

From #404:

I wasn't totally clear if just changing the way color is defined in the SVG was the goal of the issue since all documentation I found and referenced in the issue said hex color codes and rgb() were both considered sRBG. Please let me know if I've misinterpreted this issue and/or if other changes need to be made.

@isabela-pf: You would be right, all these formats are equivalent according to the SVG specification. Issue #386 was meant to be more about having the brand colors defined in such a way that the intended color can be accurately described regardless of format.

RGB with and without color spaces is a bit like having date-times with and without time zones, where something like "Febuary 23rd, 2021 at 12:05:00" can't be interpreted as a specific, universal moment in time unless the time zone (like "Eastern Standard Time" or "New York time") is also given. sRGB just happens to be the UTC of color spaces, in a way (except unlike with time zones, color space support in software is still only just getting there and most people aren't even aware of them).

I don't believe changing from hex codes to rgb() triplets in the SVG files will have any consequence, given SVG already considers everything to be sRGB by default, but I like decimal RGB triplets, so I'm all for it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants