function bg_yellow(text) result(textout) character(len=*) :: text character(len=9+len(text)) :: textout textout=achar(27)//"[43m"//text//achar(27)//"[0m" end function bg_yellow