src/utils/color.js
function (cssColor) {
            // TODO : Memoize this function by caching its input

            if (cssToRGB.has(cssColor)) {
                return this.setColor.apply(this, cssToRGB.get(cssColor));
            }

            return this.parseRGB(cssColor);
        }
function (cssColor) {
            // TODO : Memoize this function by caching its input

            if (cssToRGB.has(cssColor)) {
                return this.setColor.apply(this, cssToRGB.get(cssColor));
            }

            return this.parseRGB(cssColor);
        }
function ( cssColor ) { // TODO : Memoize this function by caching its input if ( cssToRGB . has ( cssColor ) ) { return this . setColor . apply ( this , cssToRGB . get ( cssColor ) ) ; } return this . parseRGB ( cssColor ) ; }
Parse a CSS color string and set this color to the corresponding
r,g,b values
@name parseCSS
@memberOf me.Color
@function
@param {String} color
@return {me.Color} Reference to this object for method chaining
Parse a CSS color string and set this color to the corresponding r g b values