<Tr> <Th> Budget </Th> <Td> $4 million </Td> </Tr> <Tr> <Th> Box office </Th> <Td> $56.7 million </Td> </Tr> <P> Guess Who's Coming to Dinner is a 1967 American comedy - drama film produced and directed by Stanley Kramer, and written by William Rose . It stars Spencer Tracy, Sidney Poitier, and Katharine Hepburn, and features Hepburn's niece Katharine Houghton . </P> <P> The film was one of the few films of the time to depict an interracial marriage in a positive light, as interracial marriage historically had been illegal in most states of the United States, and still was illegal in 17 states--mostly Southern states--until 12 June 1967, six months before the film was released, roughly two weeks after Tracy filmed his final scene (and two days after his death), when anti-miscegenation laws were struck down by the Supreme Court in Loving v. Virginia . The film's Oscar - nominated score was composed by Frank De Vol . </P>

Who wrote guess who's coming to dinner