3rd try with removing blank lines in colormaps
This commit is contained in:
parent
da348be8ba
commit
b1c524e8d8
|
@ -86,11 +86,12 @@ class Color():
|
|||
|
||||
|
||||
def _HSV2HSL(self):
|
||||
"""Convert H(ue) S(aturation) V(alue or brightness) to H(ue) S(aturation) L(uminance)
|
||||
"""
|
||||
Convert H(ue) S(aturation) V(alue or brightness) to H(ue) S(aturation) L(uminance)
|
||||
|
||||
with all values in the range of 0 to 1
|
||||
http://codeitdown.com/hsl-hsb-hsv-color/
|
||||
"""
|
||||
|
||||
if self.model != 'HSV': return
|
||||
print "HSV: ",self.color
|
||||
converted = Color('HSL',np.array([
|
||||
|
@ -105,11 +106,12 @@ class Color():
|
|||
|
||||
|
||||
def _HSL2HSV(self):
|
||||
"""Convert H(ue) S(aturation) L(uminance) to H(ue) S(aturation) V(alue or brightness)
|
||||
"""
|
||||
Convert H(ue) S(aturation) L(uminance) to H(ue) S(aturation) V(alue or brightness)
|
||||
|
||||
with all values in the range of 0 to 1
|
||||
http://codeitdown.com/hsl-hsb-hsv-color/
|
||||
"""
|
||||
|
||||
if self.model != 'HSL': return
|
||||
|
||||
h = self.color[0]
|
||||
|
|
Loading…
Reference in New Issue