src/core/services/ripple/ripple.js
function getElementColor () {
    var items = self.options && self.options.colorElement ? self.options.colorElement : [];
    var elem =  items.length ? items[ 0 ] : self.$element[ 0 ];

    return elem ? self.$window.getComputedStyle(elem).color : 'rgb(0,0,0)';
  }
function getElementColor () {
    var items = self.options && self.options.colorElement ? self.options.colorElement : [];
    var elem =  items.length ? items[ 0 ] : self.$element[ 0 ];

    return elem ? self.$window.getComputedStyle(elem).color : 'rgb(0,0,0)';
  }
function getElementColor ( ) { var items = self . options && self . options . colorElement ? self . options . colorElement : [ ] ; var elem = items . length ? items [ 0 ] : self . $element [ 0 ] ; return elem ? self . $window . getComputedStyle ( elem ) . color : 'rgb(0,0,0)' ; }
Finds the color element and returns its text color for use as default ripple color
@returns {string}
Finds the color element and returns its text color for use as default ripple color