Skip to main content
When PayPal updates its brand guidelines, the PayPal JavaScript SDK v5 and v6 automatically update the appearance of buttons rendered on your site. No code changes are required.
Current colorCurrent buttonNew buttonNew color
GoldCurrent gold PayPal buttonNew blue PayPal buttonBlue
BlueCurrent blue PayPal buttonNew blue PayPal buttonBlue
SilverCurrent silver PayPal buttonNew white PayPal buttonWhite
WhiteCurrent white PayPal buttonNew white PayPal buttonWhite
BlackCurrent black PayPal buttonNew black PayPal buttonBlack

Set your button color

You can set the button color for accessibility or branding reasons. To choose a specific color, apply one of the supported color classes to your <paypal-button> element.
<paypal-button type="checkout" class="paypal-blue"></paypal-button>

Ensure accessibility

To comply with WCAG 2.1 AA standards:
  • On light backgrounds, use the blue or black button.
  • On dark backgrounds, use the white button.