Handbook
Glossary
invert-rgb-compand ( v -- v' )
Vocabulary
colors
.
xyz
.
private
Inputs
v
an
object
Outputs
v'
an
object
Definition
USING:
kernel
math
math.functions
;
IN:
colors.xyz.private
:
invert-rgb-compand
( v -- v' )
dup
0.04045
<=
[
12.92
/
]
[
0.055
+
1.055
/
2.4
^
]
if
;