All is in the question i have tried this : $('#my-div').css('box-shadow'); but it returns something like : rgb(25,65,588) 10px 10px 10px. How to get only the color ?
All is in the question i have tried this : $(‘#my-div’).css(‘box-shadow’); but it returns
Share
This will get the rgb or rgba expression
Then you can use a converter to get the hexadicimal value