Continuous Ramsey theory in higher dimensions