In Illustrator, you can save only what’s on the artboard. This means that if you want to save a drawing with just the foreground and background colors, you have to select those two items and then click the Save As button.