The clear_to_color function (cont'd)

The second parameter is an RGB color value of type int.

This value is produced in Listing 2 by calling the makecol function and:

Passing the individual red, green, and blue intensity values as parameters.

The makecol function: