Tribe__Utils__Color A

Total Complexity 61
Dependencies 1
Dependents 0
Total lines 486
Lines of code 224
Logical lines of code 154
Comment lines 168
Methods 21
Properties 3

Methods 21

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
makeGradient()
S
64 2 10
complementary()
S
71 2 5
isDark()
S
65 2 7
getHsl()
S
82 1 3
getHex()
S
82 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