Background Rainbow

A website designer wants to create a colourful webpage that displays the six HTML heading sizes. Each heading should have a different background colour and white text. The entire webpage should have a black background.

You have been provided with the HTML code. Your task is to add internal CSS to style the webpage.

<html>
<head>
    <title>Background Rainbow</title>
</head>
<body>
    <h1>Red</h1>
    <h2>Orange</h2>
    <h3>Yellow</h3>
    <h4>Green</h4>
    <h5>Blue</h5>
    <h6>Purple</h6>
</body>
</html>
<style>
    h1{
        background-color: ?????;
        color: ?????;
    }
</style>