Next blank.gif blank.gif

Function contrast


SYNOPSIS

import colorcube
def contrast(color)

DESCRIPTION

Compute luminous efficiency of given color and return either white or black based on which would contrast more.

SEE ALSO

colorcube


Next blank.gif blank.gif
Buzz.gif

Copyright © Robin Friedrich
All Rights Reserved
Comments to author: dev@null
Generated: Tue Apr 20, 1999