Text Justification for console output

How do I center the text in my console output window when using the command cout << "Place your text here." << endl;
Also, how do I chance the colors of the text, and background for the console out window?