summaryrefslogtreecommitdiffstats
path: root/info
diff options
context:
space:
mode:
Diffstat (limited to 'info')
-rw-r--r--info/blueshift.texinfo11
1 files changed, 11 insertions, 0 deletions
diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo
index 9b36be9..70e7fa0 100644
--- a/info/blueshift.texinfo
+++ b/info/blueshift.texinfo
@@ -630,12 +630,23 @@ Convert [0, 1] sRGB to CIE xyY
@item ciexyy_to_srgb(x, y, Y)
Convert CIE xyY to [0, 1] sRGB
+
+@item ciexyz_to_cielab(x, y, z)
+Convert CIE XYZ to CIE L*a*b*
+
+@item cielab_to_xiexyz(l, a, b)
+Convert CIE L*a*b* to CIE XYZ
@end table
All these functions return lists with
the three colour components, not tuples.
Input and output is one colour instance.
+If you want to calculated the distance (difference)
+between two colours, you can use @code{delta_e}. It
+has two parameters, each is red–green–blue-tuple of
+an sRGB colour.
+
@node Preexisting adjustments
@section Preexisting adjustments