apply color pattern