 
 			else if color.hasOwnProperty("h") or color.hasOwnProperty("s")
 
-				h = if _.isNumber(color.h) then color.h else 0
-				s = if _.isNumber(color.s) then convertToPercentage(color.s) else 1
+				h = if isNumeric(color.h) then color.h else 0
+				s = if isNumeric(color.s) then convertToPercentage(color.s) else 1
 
 				if color.hasOwnProperty("v")
-					v = if _.isNumber(color.v) then convertToPercentage(color.v) else 0
+					v = if isNumeric(color.v) then convertToPercentage(color.v) else 0
 					rgb = hsvToRgb(h, s, v)
 				else
-					l = if _.isNumber(color.l) then convertToPercentage(color.l) else 50
+					l = if isNumeric(color.l) then convertToPercentage(color.l) else 50
 					rgb = hslToRgb(h, s, l)
 
 				ok = true

	hex6: /^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
	}

stringToObject = (color) ->
	trimLeft = /^[\s,#]+/
	trimRight = /\s+$/

# Conversion Functions
# RGB to RGB
rgbToRgb = (r, g, b) ->
	r: if isNumeric(r) then bound01(r, 255) * 255 else 0
	g: if isNumeric(g) then bound01(g, 255) * 255 else 0
	b: if isNumeric(b) then bound01(b, 255) * 255 else 0

# RGB to HEX
rgbToHex = (r, g, b, allow3Char) ->
