MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / _hex_to_hsl

Function _hex_to_hsl

PySimpleGUI/PySimpleGUI.py:20150–20152  ·  view source on GitHub ↗
(hex)

Source from the content-addressed store, hash-verified

20148# ------------------------ Color processing functions ------------------------
20149
20150def _hex_to_hsl(hex):
20151 r, g, b = _hex_to_rgb(hex)
20152 return _rgb_to_hsl(r, g, b)
20153
20154
20155def _hex_to_rgb(hex):

Callers 4

__init__Method · 0.85
updateMethod · 0.85
__init__Method · 0.85
updateMethod · 0.85

Calls 2

_hex_to_rgbFunction · 0.85
_rgb_to_hslFunction · 0.85

Tested by

no test coverage detected