parse colors and newline