i already set the background color in css file , and iwant to read it and change by javascript var backgroundColor = document.querySelector("body").style.backgroundColor;
if change the color it works , but I want to store the value and use it in if contiditon