code: public void setChromeShadowColor(int color) {
      if (chromeShadowColor != color) {
        viewBorderPaint.setShadowLayer(1, -1, 1, color);
        chromeShadowColor = color;
        invalidate();
      }
    }
docs: Set the view border chrome shadow color.