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

Default iTerm color space is not AppleRGB #97

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ericbn
Copy link

@ericbn ericbn commented Sep 30, 2021

Hi. 👋 First let me thank you for the amazing color palette you've created!


The default iTerm color space is Generic RGB actually. And when exporting a color preset, it's saved with the sRBG color space. I've added the Alpha Component and Color Space keys to each color definition as it's exported by iTerm.

See mbadolato/iTerm2-Color-Schemes#106

This fixes all the colors in iTerm. E.g the red color in the dark template was being rendered as #f6544f in sRGB, and now it's being correctly rendered as #fa5750.

Also, I've updated the Selection Color to use bg_2 instead of bg_1, and the Cursor Color to use fg_1 instead of fg_0, same as in other templates, for better contrast.

@ericbn ericbn force-pushed the default_iterm_color_space_is_not_applergb branch from 4989969 to 245c27d Compare September 30, 2021 00:46
@ericbn
Copy link
Author

ericbn commented Sep 30, 2021

The "readability in all conditions." line is a selected line.

Before

After

it's Generic RGB actually. And when exporting a color preset, it's saved
with the sRBG color space usually. I've added the Alpha Component and
Color Space keys to each color definition as it's exported by iTerm.

See mbadolato/iTerm2-Color-Schemes#106

This fixes all the colors in iTerm. E.g the red color in the dark
template was being rendered as #f6544f in sRGB, and now it's being
correctly rendered as #fa5750.

Also, I've updated the Selection Color to use bg_2 instead of bg_1, and
the Cursor Color to use fg_1 instead of fg_0, same as in other
templates, for better contrast.
@ericbn ericbn force-pushed the default_iterm_color_space_is_not_applergb branch from 245c27d to 804fdab Compare October 1, 2021 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant