refactored color property