convert_color_channel#
- static Color.convert_color_channel(val: Union[int, numpy.integer, float, numpy.floating, str]) int [source]#
Convert the given color channel value to the integer representation.
- Parameters
- Returns
int
Color channel value in the integer representation (values between
0
and255
).