File: //proc/2/root/proc/3/cwd/usr/lib/python2.4/colorsys.pyc
mò
=5Dc @ s d Z d d d d d d g Z d d Z d d Z d
d Z d Z d Z d
Z d Z d Z d Z
d Z d S( sæ Conversion functions between RGB and other color systems.
This modules provides two functions for each color system ABC:
rgb_to_abc(r, g, b) --> a, b, c
abc_to_rgb(a, b, c) --> r, g, b
All inputs and outputs are triples of floats in the range [0.0...1.0].
Inputs outside this range may cause exceptions or invalid outputs.
Supported color systems:
RGB: Red, Green, Blue components
YIQ: used by composite video signals
HLS: Hue, Luminance, Saturation
HSV: Hue, Saturation, Value
t
rgb_to_yiqt
yiq_to_rgbt
rgb_to_hlst
hls_to_rgbt
rgb_to_hsvt
hsv_to_rgbf1.0f3.0f6.0f2.0c C s[ d | d | d | } d | d | d | } d | d | d | } | | | f S(
Nf0.29999999999999999f0.58999999999999997f0.11f0.59999999999999998f0.28000000000000003f0.32000000000000001f0.20999999999999999f0.52000000000000002f0.31( t rt gt bt yt it q( R R R R
R R ( ( t /usr/lib/python2.4/colorsys.pyR "