Handbook
Glossary
adjust-color ( u -- v )
Vocabulary
colors
.
contrast
.
private
Inputs
u
an
object
Outputs
v
an
object
Definition
USING:
kernel
math
math.functions
;
IN:
colors.contrast.private
:
adjust-color
( u -- v )
dup
0.03928
<=
[
12.92
/
]
[
0.055
+
1.055
/
2.4
^
]
if
;