refactored color methods in to ColorUtils