Moved color and bgcolor to class variables