mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Merge branch 'master' of https://github.com/nixolas1/Zoff
This commit is contained in:
@@ -300,5 +300,7 @@ function rgbToHsl(arr){
|
||||
h /= 6;
|
||||
}
|
||||
|
||||
return "hsl("+Math.floor(h*360)+", "+Math.floor(s*100)+"%, "+Math.floor(l*50)+"%)";
|
||||
}
|
||||
if(l>0.5)l=0.5; //make sure it isnt too light
|
||||
|
||||
return "hsl("+Math.floor(h*360)+", "+Math.floor(s*100)+"%, "+Math.floor(l*100)+"%)";
|
||||
}colorcolorcolor
|
||||
|
||||
Reference in New Issue
Block a user