color helper method