implemented color mapper