VisuaLife
latest
Documentation
Installation
Examples gallery
Live demo
How To
Tutorials
Brython tips
Change log
Development
API reference
visualife.calc Package
visualife.calc.math_utils Module
visualife.core Package
Functions
clamp
color_name_to_hex
hex_to_rgb
hsv_to_hex
hsv_to_rgb
is_hex
make_brighter
make_darker
mix_colors
rgb_norm_to_hex
rgb_to_hex
shade
Classes
visualife.core.styles Module
visualife.core.shapes Module
visualife.core.three_d Package
visualife.data Package
visualife.diagrams Package
visualife.serverside Package
visualife.utils Package
visualife.widget Package
Data formats
VisuaLife
Docs
»
visualife.core Package
»
hex_to_rgb
Edit on Bitbucket
hex_to_rgb
¶
visualife.core.
hex_to_rgb
(
hex_str: str
)
→ tuple
¶
Convert HEX string to RGB format
Parameters:
hex_str
(
string
) – string in a HEX format
Returns:
RGB tuple