-
Hello , I would like to plot a triangle in CIE 1931 colour space as below image. |
Beta Was this translation helpful? Give feedback.
Answered by
KelSolaar
Jan 12, 2023
Replies: 1 comment 5 replies
-
Hi @nitishn23, Yes this is easy: import colour
RGB_COLOURSPACE_CUSTOM = colour.RGB_Colourspace(
"Custom",
[[0.690, 0.310], [0.170, 0.720], [0.150, 0.030]],
colour.CCS_ILLUMINANTS["CIE 1931 2 Degree Standard Observer"]["D65"],
)
colour.plotting.plot_RGB_colourspaces_in_chromaticity_diagram_CIE1931(
RGB_COLOURSPACE_CUSTOM, plot_kwargs={"color": "y"}
) |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
nitishn23
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @nitishn23,
Yes this is easy: