This doesn't need to be a `var` to be a named function you can pass around.  Just do:

```
function updateColor( value ) {
...
}
...
updateColor();
```