 	hex6: /^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
 	}
 
-isNumeric = (value) ->
-	return !isNaN(value) && isFinite(value)
-
 stringToObject = (color) ->
 	trimLeft = /^[\s,#]+/
 	trimRight = /\s+$/

		if isNaN(fraction)
			fraction = .5

		if typeof colorA is "string" && @isColorString(colorA)
			colorA = new Color colorA
		if typeof colorB is "string" && @isColorString(colorB)
			colorB = new Color colorB

		if colorA not instanceof Color and colorB instanceof Color


			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

				if color.hasOwnProperty("v")
					v = if _.isNumber(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
					rgb = hslToRgb(h, s, l)

				ok = true
