escolor

function isColor(color){
       document.writeln(`<p id="mhm" style="display: none; color: `+color+`;">hi</p>`);
       if(document.getElementById("mhm").style.color == color){
          console.log("valid color")
          return true
       }else{
          console.log("invalid color")
          return false
    }
}
//checks for rgb, hex, and normal colors
CLUSION