bgdev.utils.color

Color utilites.

created

08/02/2019

author

Benoit GIELLY <benoit.gielly@gmail.com>

convert_css_color(css_color)[source]

Convert given color using the PySide2 CSS API.

Parameters

css_color (str) – Any color-string you would type in a Widget’s CSS.

Returns

The RBG-converted color.

Return type

tuple