Why checking twice if `isColored()` is true? Couldn't you just nest like:
```
if (console.isColored()) {
    if (!console.isBrowser()) {
        //... do stuff
    } else {
        //... do other stuff
    }
} else {
    //... do stuff when is NOT colored
}
```