It depends a bit how the output on the console is created.
Is that with Write-Host, then you can use the Foreground and Background parameters.
If you are talking about error, warning, verbose, debug ... messages, you can change the values in the corresponding properties in $host.PrivateData.