Tribe__Utils__Color A

Total Complexity 62
Dependencies 1
Dependents 6
Total lines 493
Lines of code 227
Logical lines of code 155
Comment lines 175
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
hslToHex()
A
49 10 28
hexToHsl()
A
44 8 44
_huetorgb()
S
57 6 18
getCssGradient()
S
55 4 18
rgbToHex()
S
63 5 9
__construct()
S
61 3 11
_lighten()
S
64 3 9
_darken()
S
64 3 9
_checkHex()
S
63 3 9
isLight()
S
66 2 7
isDark()
S
65 2 7
makeGradient()
S
64 2 10
complementary()
S
71 2 5
getHsl()
S
82 1 3
getHex()
S
82 1 3
get_hex_with_hash()
S
80 1 3
getRgb()
S
82 1 3
mix()
S
72 1 5
lighten()
S
75 1 4
darken()
S
75 1 4
_mix()
S
65 1 8
hexToRgb()
S
63 1 10