I have a simple if condition that checks the color of a element...

```
function changeBackgroundColor(element) {
          if (element.target.style.color == "#1abc9c"){
            // Do nothing
          } 
          else { // Whatever }

```

But it is not working.
If i use common names like "Yellow, green, etc" it works.
Any tips?