implemented color transparency in Macros project.