How to set different background, input and output colors

I want to create a notebook where the background is one color, the input cells are another color, and the output cells are white. I have tried messing around with Option Inspector and creating a custom style sheet, but it all cases I cannot get the background and the input cells to have a different color. Any thoughts?

• You do not do this via the options inspector. Immediately above options inspector is Edit Stylesheet. That is what you need. If you search on this site there is ample information that covers this -- this is almost certainly a duplicate. For example for "Input" add Background->RGBColor[1,1,0],; for "Notebook" add Background->RGBColor[1,1,0]; for "Output" add Background->GrayLevel[1] – Mike Honeychurch Nov 15 '15 at 11:12
• Thanks Mike, but when I do this there is no "Notebook" style to choose from. I can choose "All" but that messes with the "Input" background too. – PatrickS Nov 15 '15 at 11:49
• In order assure that @MikeHoneychurch sees your comment meant for him, you need to address it as I just did. You, PatrickS, automatically receive all comments to your question, but he does not. – bbgodfrey Nov 15 '15 at 12:08
• Okay, thanks @bbgodfrey – PatrickS Nov 15 '15 at 12:19
• @bbgodfrey - Does that comment trick work for all names or only names that don't have spaces. I frequently find that my "@xxx" disappears after entering a comment and don't understand the mechanism. – Jack LaVigne Nov 16 '15 at 0:42

which gives:

or evaluate this, which can be inferred from other questions on this site about style sheeting:

SetOptions[EvaluationNotebook[],
StyleDefinitions ->
Notebook[{Cell[StyleData[StyleDefinitions -> "Default.nb"]],
Cell[StyleData["Notebook"], Background -> GrayLevel[0.5]],
Cell[StyleData["Input"], Background -> RGBColor[0.87, 0.94, 1]],
Cell[StyleData["Output"], Background -> GrayLevel[1]]},
StyleDefinitions -> "PrivateStylesheetFormatting.nb"]
]