from colorspace import sRGB
= sRGB(R = 0.5, G = 0.1, B = 0.3)
x1 x1
sRGB color object (1 colors)
R G B
1: 0.50 0.10 0.30
Documentation built with Python 3.11.10
, pyp2qmd 0.1.1
and quarto 1.5.57
on GitHub.
Helper method to check if the current color object has an alpha channel or not.
CIEXYZ.hasalpha()
bool
: True
if alpha values are present, False
if not.
sRGB color object (1 colors)
R G B
1: 0.50 0.10 0.30
sRGB color object (1 colors)
R G B alpha
1: 0.50 0.10 0.30 0.50