Skip to content

Why is "colour.plotting.plot_RGB_colourspaces_gamuts" definition producing unexpected results? #750

Answered by KelSolaar
hminle asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @hminle,

This is a pure side effect of the illuminants of the two RGB colourspaces being different, i.e. D65 vs D50. What you can do is something like that:

PPRGB_D65 = colour.models.RGB_COLOURSPACES['ProPhoto RGB'].chromatically_adapt(
    colour.ILLUMINANTS['CIE 1931 2 Degree Standard Observer']['D65'])

colour.plotting.plot_RGB_colourspaces_gamuts(
    colourspaces=[PPRGB_D65, 'sRGB'], reference_colourspace='CIE XYZ')

If you have a doubt like that, try CIE xyY and you will see that ProPhoto RGB encompasses almost entirely sRGB but they diverge at the top of the volume because of their different whitepoint.

You can also verify that here: https://www.colour-science.org:8020/

Replies: 9 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by KelSolaar
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #619 on January 16, 2021 23:01.