code: function (settings) {
          var self = this;
  
          settings.spellcheck = false;
  
          if (settings.onaction) {
            settings.icon = 'none';
          }
  
          self._super(settings);
  
          self.classes.add('colorbox');
          self.on('change keyup postrender', function () {
            self.repaintColor(self.value());
          });
        }
docs: Constructs a new control instance with the specified settings.
  
  @constructor
  @param {Object} settings Name/value object with settings.