Color Blend in Different Color Spaces
The relationship between two colors is deeply influenced by the color model that is used to describe them. The function Blend performs a color mixing in the color's native space, thus preserving its natural metric and its characteristics.
Blend offers unique results depending on the color model.
Out[1]= | ![](HTMLImages.en/color-blend-in-different-color-spaces/O_9.png) |
Out[2]= | ![](HTMLImages.en/color-blend-in-different-color-spaces/O_10.png) |
Compare blue-to-red blend in RGB and HSB spaces.
Out[3]= | ![](HTMLImages.en/color-blend-in-different-color-spaces/O_11.png) |
Out[4]= | ![](HTMLImages.en/color-blend-in-different-color-spaces/O_12.png) |
A 3D representation of an RGB blend is a straight line in RGB itself but a curve in a perceptually accurate space like CIE
.
show complete Wolfram Language inputhide input
Out[5]= | ![](HTMLImages.en/color-blend-in-different-color-spaces/O_13.png) |
Blue-to-red blend in four different color spaces.
Out[6]= | ![](HTMLImages.en/color-blend-in-different-color-spaces/O_14.png) |
Use red-to-blue (center to corner) blend in different spaces for coloring plots.
show complete Wolfram Language inputhide input
Out[7]= | ![](HTMLImages.en/color-blend-in-different-color-spaces/O_15.png) |