print error to stderr; add color for printf