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

Add Oklab and Oklch #291

Merged
merged 1 commit into from
Aug 2, 2023
Merged

Add Oklab and Oklch #291

merged 1 commit into from
Aug 2, 2023

Conversation

eprovst
Copy link
Contributor

@eprovst eprovst commented Aug 1, 2023

Similar to pull request #271 using the terminology of CSS instead and including some tests.

As far as I can tell, I implemented everything needed. The gamutmin and gamutmax are from the CSS recommendation, but I'm not 100% certain it stays within the sRGB gamut, rather likely it does not.

Copy link
Member

@timholy timholy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. OK to merge?

@eprovst
Copy link
Contributor Author

eprovst commented Aug 2, 2023

As far as I can tell, this is complete yes. gamutmin and gamutmax might need tweaking, but the current values should at least be reasonable upper bounds. :)

@timholy
Copy link
Member

timholy commented Aug 2, 2023

That's as good as some of the other colorspaces, so I'm fine with that.

@timholy timholy merged commit 6a10da4 into JuliaGraphics:master Aug 2, 2023
@timholy
Copy link
Member

timholy commented Aug 2, 2023

Thanks!

Getting this out in a release is a little complicated: we already have some breaking stuff merged and there's still #251. Are you in a hurry to get this out or is a bit of a delay OK?

@eprovst
Copy link
Contributor Author

eprovst commented Aug 2, 2023

It would be useful for some long term project, but there's no rush. Of course, the complementary pull request in Colors.jl depends on a release here.

@eprovst eprovst deleted the oklab branch August 2, 2023 19:04
stillyslalom pushed a commit to stillyslalom/ColorTypes.jl that referenced this pull request Feb 6, 2024
johnnychen94 pushed a commit that referenced this pull request Apr 6, 2024
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.

2 participants