You can put the color of the element’s background for the interactive background. Use the background-color property with colors specified using predefined color names, or RGB, HEX, HSL, RGBA, and HSLA values.

<!DOCTYPE html>
<html lang="en">
<head>
    <title>Background Color Property</title>
    <style>
        body {
            background-color: aquamarine;
            /*Colors are specified using predefined color names, or RGB, HEX, HSL, RGBA, HSLA values.*/
        }
        div {
            background-color: rgb(240, 252, 78);
            /*Colors are specified using predefined color names, or RGB, HEX, HSL, RGBA, HSLA values.*/

        }
        P {
            color: rgb(245, 14, 14);
            font-size: 80px;
            font-family: chiller;
        }
    </style>
</head>
<body>
    <p>Background Color Property भी चेक कर ली.....!!!</p>
    <div> Yesss Boss, I can do it....</div>
</body>
</html>

Show Output :
body background color is aquamarine and div is rgb(240, 252, 78).

I. back color image
Related Topic : 
What is LibreOffice? LibreOffice Impress Features ?LibreOffice Impress CCC Questions and Answer in Hindi 2022
CCC LibreOffice Calc Paper Questions with AnswersCCC NIELIT Quiz 2022
Interview Questions and Answers for ExperienceInterview Questions and Answers for Freshers
MCQ 

Leave a Comment