For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
You'll need to get an access token first. The easiest way to do this is:
- Open Chrome
- Open devtools
- Go to the network inspector, and in the filter type "get_access_token"
- Navigate to https://open.spotify.com in that tab
- Click on the network request that shows up, then copy the entirety of the
cookie
header in the Request headers.
These access tokens expire, but the cookies appear to expire less frequently or not at all, so we will hold onto the cookies.
Whenever you need to get an access token, make a request to https://open.spotify.com/get_access_token?reason=transport&productType=web_player
with the cookie
header we extracted previously.