invert-rgb-compand ( v -- v' )


Vocabulary
colors.xyz.private

Inputs
van object


Outputs
v'an object


Definition


: invert-rgb-compand ( v -- v' )
dup 0.04045 <= [ 12.92 / ] [ 0.055 + 1.055 / 2.4 ^ ] if ;