diff-hue ( h1 h2 -- dh )


Vocabulary
colors.distances.private

Inputs
h1an object
h2an object


Outputs
dhan object


Definition


:: diff-hue ( h1 h2 -- dh )
h2 h1 - dup abs 180 >
[ dup 0 <= [ 360 + ] [ 360 - ] if ] when ;