Comparing version 0.0.2 to 0.1.0
@@ -45,3 +45,3 @@ | ||
} | ||
var s = 1 - (3 * ((Math.min(r, g, b)) / (r + g + b))), (1 / 3) * (r + g + b); | ||
var s = 1 - (3 * ((Math.min(r, g, b)) / (r + g + b))); | ||
var hsvClassifier = (h > 0 && h < 35 && s > 0.23 && s < 0.68); | ||
@@ -48,0 +48,0 @@ |
{ | ||
"name": "skintone", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"homepage": "https://github.com/paramaggarwal/skintone", | ||
@@ -5,0 +5,0 @@ "description": "Detect if a color value is a shade of skin.", |
4246