src/utils/color.js
function (color) {
            if (color instanceof me.Color) {
                this.glArray.set(color.glArray);
                return this;
            }

            return this.parseCSS(color);
        }
function (color) {
            if (color instanceof me.Color) {
                this.glArray.set(color.glArray);
                return this;
            }

            return this.parseCSS(color);
        }
function ( color ) { if ( color instanceof me . Color ) { this . glArray . set ( color . glArray ) ; return this ; } return this . parseCSS ( color ) ; }
Copy a color object or CSS color into this one.
@name copy
@memberOf me.Color
@function
@param {me.Color|String} color
@return {me.Color} Reference to this object for method chaining
Copy a color object or CSS color into this one .