HEX
Server: Apache
System: Linux vpshost11508.publiccloud.com.br 5.15.179-grsec-vpshost-10.lc.el8.x86_64 #1 SMP Mon Apr 7 12:04:45 -03 2025 x86_64
User: wicomm2 (10002)
PHP: 8.3.0
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //lib64/python2.7/colorsys.pyo
�
_Ofc@sdZddddddgZddZdd	Zd
dZd�Zd�Zd
�Zd�Zd�Z	d�Z
d�ZdS(sJConversion 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]
(with the exception of I and Q, which covers a slightly larger range).
Inputs outside the valid range may cause exceptions or invalid outputs.

Supported color systems:
RGB: Red, Green, Blue components
YIQ: Luminance, Chrominance (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_rgbg�?g@g@g@cCs[d|d|d|}d|d|d|}d|d|d	|}|||fS(
Ng333333�?g�z�G��?g)\��(�?g333333�?g�Q����?g{�G�z�?g�z�G��?g�p=
ף�?gףp=
��?((trtgtbtytitq((s /usr/lib64/python2.7/colorsys.pyR%scCs�|d|d|}|d|d|}|d|d|}|dkrWd}n|dkrld}n|dkr�d}n|dkr�d}n|dkr�d}n|dkr�d}n|||fS(	NgD��)X�?gS�h��?g�fb���?g��4�Ry�?g���V��?gv�ꭁ��?gg�?((R	R
RRRR((s /usr/lib64/python2.7/colorsys.pyR+s 						cCst|||�}t|||�}||d}||krKd|dfS|dkrl||||}n||d||}||||}||||}||||}	||kr�|	|}
n+||kr�d||	}
nd||}
|
dd}
|
||fS(Ng@gg�?g@g@g�?(tmaxtmin(RRRtmaxctminctltstrctgctbcth((s /usr/lib64/python2.7/colorsys.pyRCs$

cCs�|dkr|||fS|dkr6|d|}n||||}d||}t|||t�t|||�t|||t�fS(Ngg�?g�?g@(t_vt	ONE_THIRD(RRRtm2tm1((s /usr/lib64/python2.7/colorsys.pyRZs
cCsb|d}|tkr*||||dS|dkr:|S|tkr^|||t|dS|S(Ng�?g@g�?(t	ONE_SIXTHt	TWO_THIRD(RRthue((s /usr/lib64/python2.7/colorsys.pyRds
cCs�t|||�}t|||�}|}||krCdd|fS|||}||||}||||}||||}	||kr�|	|}
n+||kr�d||	}
nd||}
|
dd}
|
||fS(Ngg@g@g@g�?(RR
(RRRRRtvRRRRR((s /usr/lib64/python2.7/colorsys.pyRts 

cCs|dkr|||fSt|d�}|d|}|d|}|d||}|d|d|}|d}|dkr�|||fS|dkr�|||fS|dkr�|||fS|dkr�|||fS|d	kr�|||fS|d
kr
|||fSdS(Ngg@g�?iiiiiii(tint(RRRR
tftpRtt((s /usr/lib64/python2.7/colorsys.pyR�s(






N(t__doc__t__all__RRRRRRRRRR(((s /usr/lib64/python2.7/colorsys.pyt<module>s