reverted and remade changes to c2d and modify color strategies