implemented color codes