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


Vocabulary
colors.xyz.private

Inputs and outputs
van object
v'an object


Definition


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