The color functions, messages, and data structures let applications take advantage of recent improvements in display-adapter and printer technology. Word-processing applications can display and print text using a variety of foreground and background colors, spreadsheet applications can display and print charts and graphs which have been outlined and filled with a variety of pen and brush colors, and image-editing applications can display and print bitmapped pictures using a rich set of colors that give the images a realistic appearance.