function asString(color) {
  if (typeof color === 'string') {
    return color;
  }
  return toString(color);
}
Return the color as an rgba string.
@param {Color|string} color Color.
@return {string} Rgba string.
@api