added code for mask color