Random Color Generator

#b98ac2 Color

Color Codes
Hex Code #b98ac2
RGB Code rgb(185, 138, 194)
HSL Code hsl(290, 31%, 65%)

#b98ac2 Color Syntax

rgb()

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

 main {
    background-color: rgb(185, 138, 194);
   }

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(290, 31%, 65%);
  }

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

RGB Code Hex Code Preview
rgb(185, 138, 194, 10%) #b98ac21a  
rgb(185, 138, 194, 20%) #b98ac233  
rgb(185, 138, 194, 40%) #b98ac24C  
rgb(185, 138, 194, 60%) #b98ac299  
rgb(185, 138, 194, 80%) #b98ac2CC  
rgb(185, 138, 194, 100%) #b98ac2FF  

Saturated and desaturated colors of #b98ac2

HSL Code Preview
hsl(290, 10%, 65%)  
hsl(290, 20%, 65%)  
hsl(290, 40%, 65%)  
hsl(290, 60%, 65%)  
hsl(290, 80%, 65%)  
hsl(290, 100%, 65%)  

#b98ac2 Color Usage In CSS

 body {
    color: #b98ac2;
    }
 p {
    color: rgb(185, 138, 194);
    }
 header {
    border-bottom:1px solid #b98ac2;
    }
Recent Random Colors