CSS Background Color | Blue Grey Background Color Classes | 10+ Background Color Classes

 

CSS Background Color
CSS Background Color

CSS Background Color

Overview

There are CSS Color classes. Following are blue-grey color classes which are classified on the base of darkness. .bg-blue-grey-1 are light color. Color darkness level increases from 1 to 10. Class bg-blue-grey-a is a light color. Bg-blue-grey-b is dark than bg-blue-grey-a, bg-blue-grey-c is dark than the previous two class. Bg-blue-grey-d is dark than the other three classes.

Blue Grey Background Color
Blue Grey Background Color
CSS Classes

.bg-blue-grey-1 {

    background-color: rgb(236,239,241!important;

}

 

.bg-blue-grey-2 {

    background-color: rgb(207,216,220!important;

}

 

.bg-blue-grey-3 {

    background-color: rgb(176,190,197!important;

}

 

.bg-blue-grey-4 {

    background-color: rgb(144,164,174!important;

}

 

.bg-blue-grey-5 {

    background-color: rgb(120,144,156!important;

}

 

.bg-blue-grey-6 {

    background-color: rgb(96,125,139!important;

}

 

.bg-blue-grey-7 {

    background-color: rgb(84,110,122!important;

}

 

.bg-blue-grey-8 {

    background-color: rgb(69,90,100!important;

}

 

.bg-blue-grey-9 {

    background-color: rgb(55,71,79!important;

}

 

.bg-blue-grey-10 {

    background-color: rgb(38,50,56!important;

}

 

.bg-blue-grey-a {

    background-color: rgb(92126143!important;

}

 

.bg-blue-grey-b {

    background-color: rgb(367188!important;

}

 

.bg-blue-grey-c {

    background-color: rgb(152429!important;

}

 

.bg-blue-grey-d {

    background-color: rgb(457285!important;

}

 

HTML Source Code

<!DOCTYPE html>

<html lang="en">

 

<head>

    <meta charset="UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Blue Grey Background Color</title>

    <link rel="stylesheet" href="blueGrey.css">

    <style>

        body {

            margin0;

            padding0;

        }

 

        .container {

            width100%;

            displayflex;

            flex-shrink1;

            flex-wrapwrap;

        }

 

        .container div {

            width150px;

            height150px;

            margin2%;

            border3px solid #eee;

        }

 

        .text {

            positionrelative;

            top75px;

            left30px;

            text-aligncenter;

        }

    </style>

</head>

 

<body>

    <div class = "container" >

        <div class = "bg-blue-grey-1" >

<strong class = "text" > bg-blue-grey-1 </strong>

  </div>

        <div class = "bg-blue-grey-2" >

<strong class = "text" > bg-blue-grey-2 </strong>

  </div>

        <div class = "bg-blue-grey-3" >

<strong class = "text" > bg-blue-grey-3 </strong>

  </div>

        <div class = "bg-blue-grey-4" >

<strong class = "text" > bg-blue-grey-4 </strong>

   </div>

        <div class = "bg-blue-grey-5" >

     <strong class = "text" > bg-blue-grey-5 </strong>

  </div>

        <div class = "bg-blue-grey-6" >

<strong class = "text" > bg-blue-grey-6 </strong>

   </div>

        <div class = "bg-blue-grey-7" >

<strong class = "text" > bg-blue-grey-7 </strong>

   </div>

        <div class = "bg-blue-grey-8" >

<strong class = "text" > bg-blue-grey-8 </strong>

   </div>

        <div class = "bg-blue-grey-9" >

<strong class = "text" > bg-blue-grey-9 </strong>

  </div>

        <div class = "bg-blue-grey-10" >

<strong class = "text" > bg-blue-grey-10 </strong>

  </div>

        <div class = "bg-blue-grey-a" >

<strong class = "text" > bg-blue-grey-a </strong>

   </div>

        <div class = "bg-blue-grey-b" >

<strong class = "text" > bg-blue-grey-b </strong>

  </div>

        <div class = "bg-blue-grey-c" >

<strong class = "text" > bg-blue-grey-c </strong>

  </div>

        <div class = "bg-blue-grey-d" >

<strong class = "text" > bg-blue-grey-d </strong>

        </div>

    </div>

</body>

</html>

 

0 Comments