Dialog Boxes for Text and Background Color

Visual Basic User's Guide > A Word Processor

This is also done with Common Dialogs. The color value returned from the dialog box is assigned to the ForeColor or BackColor properties.