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
»
is_hex
Edit on Bitbucket
is_hex
¶
visualife.core.
is_hex
(
color
)
→ bool
¶
Checks if the color is in HEX format
Parameters:
color
–
Returns:
True if HEX format, else False