From outer space, the sun actually appears white. This is because light isn’t scattered by our atmosphere from that viewpoint.