Random Color Generator

#b987a0 Color

Color Codes
Hex Code #b987a0
RGB Code rgb(185, 135, 160)
HSL Code hsl(330, 26%, 63%)

#b987a0 Color Syntax

rgb()

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

 main {
    background-color: rgb(185, 135, 160);
   }

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(330, 26%, 63%);
  }

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 #b987a0

RGB Code Hex Code Preview
rgb(185, 135, 160, 10%) #b987a01a  
rgb(185, 135, 160, 20%) #b987a033  
rgb(185, 135, 160, 40%) #b987a04C  
rgb(185, 135, 160, 60%) #b987a099  
rgb(185, 135, 160, 80%) #b987a0CC  
rgb(185, 135, 160, 100%) #b987a0FF  

Saturated and desaturated colors of #b987a0

HSL Code Preview
hsl(330, 10%, 63%)  
hsl(330, 20%, 63%)  
hsl(330, 40%, 63%)  
hsl(330, 60%, 63%)  
hsl(330, 80%, 63%)  
hsl(330, 100%, 63%)  

#b987a0 Color Usage In CSS

 body {
    color: #b987a0;
    }
 p {
    color: rgb(185, 135, 160);
    }
 header {
    border-bottom:1px solid #b987a0;
    }
Recent Random Colors