color
Color
a
property
writable
b
property
writable
g
property
writable
r
property
writable
darker(amount)
distance(other)
distance_squared(other)
gray(lightness)
staticmethod
hex(s)
staticmethod
hsla(h, s, l, a=1.0)
staticmethod
hsva(h, s, v, a=1.0)
staticmethod
hue()
hwba(h, w, b, a=1.0)
staticmethod
is_fully_opaque()
is_fully_transparent()
lab(l, a_axis, b_axis, alpha=1.0)
staticmethod
lch(l, c, h, a=1.0)
staticmethod
lerp(other, t)
lighter(amount)
linear(r, g, b, a=1.0)
staticmethod
luminance()
mix(other, t)
oklab(l, a_axis, b_axis, alpha=1.0)
staticmethod
oklch(l, c, h, a=1.0)
staticmethod
rotate_hue(degrees)
saturation()
srgb(r, g, b, a=1.0)
staticmethod
to_hex()
to_hsla()
to_hsva()
to_hwba()
to_lab()
to_lch()
to_linear()
to_list()
to_oklab()
to_oklch()
to_srgba()
to_tuple()
to_vec3()
to_vec4()
to_xyz()
with_alpha(a)
with_hue(hue)
with_luminance(value)
with_saturation(saturation)
xyz(x, y, z, a=1.0)
staticmethod
hex(s)
hsla(h, s, l, a=1.0)
hsva(h, s, v, a=1.0)
hwba(h, w, b, a=1.0)
lab(l, a_axis, b_axis, alpha=1.0)
lch(l, c, h, a=1.0)
linear(r, g, b, a=1.0)
oklab(l, a_axis, b_axis, alpha=1.0)
oklch(l, c, h, a=1.0)
srgb(r, g, b, a=1.0)
xyz(x, y, z, a=1.0)