![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| str | hex (self) |
| str | rgb (self) |
| Tuple[float, float, float] | normalized (self) |
Static Public Attributes | |
| int | red |
| int | green |
| int | blue |
The red, green, and blue components of a color.
| str pip._vendor.rich.color_triplet.ColorTriplet.hex | ( | self | ) |
get the color triplet in CSS style.
| Tuple[float, float, float] pip._vendor.rich.color_triplet.ColorTriplet.normalized | ( | self | ) |
Convert components into floats between 0 and 1.
Returns:
Tuple[float, float, float]: A tuple of three normalized colour components.
| str pip._vendor.rich.color_triplet.ColorTriplet.rgb | ( | self | ) |
The color in RGB format.
Returns:
str: An rgb color, e.g. ``"rgb(100,23,255)"``.