1. colorUtil.cs; 2. genera function of getAttr