Random Color Generator

#b2a6be Color

Color Codes
Hex Code #b2a6be
RGB Code rgb(178, 166, 190)
HSL Code hsl(270, 16%, 70%)

#b2a6be Color Syntax

rgb()

 rgb(Red, Green, Blue);
 rgba(Red, Green, Blue, Alpha);

 main {
    background-color: rgb(178, 166, 190);
   }

R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.

hsl()

 hsl(hue saturation lightness);
 hsl(hue saturation lightness / alpha);

 div {
  background-color: hsl(270, 16%, 70%);
  }

Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.

Lighter and darker colors of #b2a6be

RGB Code Hex Code Preview
rgb(178, 166, 190, 10%) #b2a6be1a  
rgb(178, 166, 190, 20%) #b2a6be33  
rgb(178, 166, 190, 40%) #b2a6be4C  
rgb(178, 166, 190, 60%) #b2a6be99  
rgb(178, 166, 190, 80%) #b2a6beCC  
rgb(178, 166, 190, 100%) #b2a6beFF  

Saturated and desaturated colors of #b2a6be

HSL Code Preview
hsl(270, 10%, 70%)  
hsl(270, 20%, 70%)  
hsl(270, 40%, 70%)  
hsl(270, 60%, 70%)  
hsl(270, 80%, 70%)  
hsl(270, 100%, 70%)  

#b2a6be Color Usage In CSS

 body {
    color: #b2a6be;
    }
 p {
    color: rgb(178, 166, 190);
    }
 header {
    border-bottom:1px solid #b2a6be;
    }
Recent Random Colors