refactoring colors