Table of Contents

Module: colormath PmwContribD-r2_0_1/colormath.py

Functions to compute color shadows, light and dark.

Functions   
checkRGBRange
computeColorTriplet
  checkRGBRange 
checkRGBRange ( value,  maxBits=16 )

Make sure the RGB value represents no more than maxBits value.

The computeColorTriplet function is a bit sloppy with math, and uses this function to clean up values before returning them.

  computeColorTriplet 
computeColorTriplet ( widget,  baseColor )

Compute a set of three colors, given a baseColor.

Returns (baseColor, lightColor, darkColor).


Table of Contents

This document was automatically generated on Mon Sep 17 17:47:46 2001 by HappyDoc version r2_0