
    Sjg                     *    S SK JrJr   " S S\5      rg)    )
NamedTupleTuplec                       \ rS rSr% Sr\\S'    \\S'    \\S'    \S\4S j5       r	\S\4S j5       r
\S\\\\4   4S	 j5       rS
rg)ColorTriplet   z/The red, green, and blue components of a color.redgreenbluereturnc                 $    U u  pnSUS US US 3$ )z#get the color triplet in CSS style.#02x selfr   r	   r
   s       4/usr/lib/python3/dist-packages/rich/color_triplet.pyhexColorTriplet.hex   s)      D3s)E#;tCj11    c                 $    U u  pnSU SU SU S3$ )zVThe color in RGB format.

Returns:
    str: An rgb color, e.g. ``"rgb(100,23,255)"``.
zrgb(,)r   r   s       r   rgbColorTriplet.rgb   s)      DcU!E7!D6++r   c                 (    U u  pnUS-  US-  US-  4$ )zConvert components into floats between 0 and 1.

Returns:
    Tuple[float, float, float]: A tuple of three normalized colour components.
g     o@r   r   s       r   
normalizedColorTriplet.normalized   s'      DU{EEM4%<77r   r   N)__name__
__module____qualname____firstlineno____doc__int__annotations__propertystrr   r   r   floatr   __static_attributes__r   r   r   r   r      sx    9	H*J,
I+2S 2 2
 ,S , , 8E%"56 8 8r   r   N)typingr   r   r   r   r   r   <module>r*      s    $"8: "8r   