One small update on the code above, I found I needed to use && :



if (this.colorizeFieldBackgroud && this.el)


Also added a block of code to alternate text color if background is ...