The red component of the color. This is a floating point percentage between 0. and 1.
The green component of the color. This is a floating point percentage between 0. and 1.
The blue component of the color. This is a floating point percentage between 0. and 1.
This command sets the foreground color for the active window. If all color values are between 0. and 1., then the active window's foreground color will be changed to the color specified by the red, green, blue arguments when the window is next redrawn. If one or more color values are not between 0. and 1., an error message will appear and the command will be ignored.
fg 0.0 0.0 1.0 #Set foreground color to blue.