Refactoring changes in color and position.