added color to buffer.