docs: def foreground(color):
  	"""Set the foreground color."""
  	if color not in foreground_colors:
  		return
  
  	if is_win32:
  		last_fg = foreground_colors[color][1]
  		set_color_win32(last_fg | last_bg)
  	else:
  		set_color_ansi(foreground_colors[color][0])