lib/toxi/color/ColorRange.js
function( c ){
            var isInRange = this.isValueInConstraint(c.hue(), this.hueConstraint);
            isInRange &= this.isValueInConstraint(c.saturation(), this.saturationConstraint);
            isInRange &= this.isValueInConstraint(c.brightness(), this.brightnessConstraint);
            isInRange &= this.isValueInConstraint(c.alpha(), this.alphaConstraint);
            return isInRange || false; //if its 0, return false
        }
function( c ){
            var isInRange = this.isValueInConstraint(c.hue(), this.hueConstraint);
            isInRange &= this.isValueInConstraint(c.saturation(), this.saturationConstraint);
            isInRange &= this.isValueInConstraint(c.brightness(), this.brightnessConstraint);
            isInRange &= this.isValueInConstraint(c.alpha(), this.alphaConstraint);
            return isInRange || false; //if its 0, return false
        }
function ( c ) { var isInRange = this . isValueInConstraint ( c . hue ( ) , this . hueConstraint ) ; isInRange &= this . isValueInConstraint ( c . saturation ( ) , this . saturationConstraint ) ; isInRange &= this . isValueInConstraint ( c . brightness ( ) , this . brightnessConstraint ) ; isInRange &= this . isValueInConstraint ( c . alpha ( ) , this . alphaConstraint ) ; return isInRange || false ; //if its 0, return false }
checks if all HSVA components of the given color are within
the constraints define for this range
@param {toxi.color.TColor} c
@return true if is contained
checks if all HSVA components of the given color are within the constraints define for this range