Skip to content

Clamping CIELAB to the visible spectrum? #1141

Answered by KelSolaar
blue-j asked this question in Q&A
Discussion options

You must be logged in to vote

We have the colour.is_within_visible_spectrum definition which is relevant: https://github.com/colour-science/colour/blob/develop/colour/volume/spectrum.py#L381

The hull computation is costly but only on first invocation, it is cached after that.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@blue-j
Comment options

@KelSolaar
Comment options

Answer selected by blue-j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants