summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--info/blueshift.texinfo2
-rw-r--r--src/colour.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo
index 1d37bbd..7cf5321 100644
--- a/info/blueshift.texinfo
+++ b/info/blueshift.texinfo
@@ -586,7 +586,7 @@ of functions used to convert colour space:
Convert [0, 1] linear RGB to [0, 1] sRGB
@item standard_to_linear(r, g, b)
-Convert [0, 1] sRGB to linear [0, 1] RGB
+Convert [0, 1] sRGB to [0, 1] linear RGB
@item ciexyy_to_ciexyz(x, y, Y)
Convert CIE xyY to CIE XYZ
diff --git a/src/colour.py b/src/colour.py
index 4a567d9..92210ea 100644
--- a/src/colour.py
+++ b/src/colour.py
@@ -28,7 +28,7 @@ def linear_to_standard(*colour):
def standard_to_linear(*colour):
'''
- Convert [0, 1] sRGB to linear [0, 1] RGB
+ Convert [0, 1] sRGB to [0, 1] linear RGB
@param colour:*float The red component, the green component, and the blue component
@return :[float, float, float] The red, green and blue components