Random Color Generator

#bba8dc Color

Color Codes
Hex Code #bba8dc
RGB Code rgb(187, 168, 220)
HSL Code hsl(262, 43%, 76%)

#bba8dc Color Syntax

rgb()

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

 main {
    background-color: rgb(187, 168, 220);
   }

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(262, 43%, 76%);
  }

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

RGB Code Hex Code Preview
rgb(187, 168, 220, 10%) #bba8dc1a  
rgb(187, 168, 220, 20%) #bba8dc33  
rgb(187, 168, 220, 40%) #bba8dc4C  
rgb(187, 168, 220, 60%) #bba8dc99  
rgb(187, 168, 220, 80%) #bba8dcCC  
rgb(187, 168, 220, 100%) #bba8dcFF  

Saturated and desaturated colors of #bba8dc

HSL Code Preview
hsl(262, 10%, 76%)  
hsl(262, 20%, 76%)  
hsl(262, 40%, 76%)  
hsl(262, 60%, 76%)  
hsl(262, 80%, 76%)  
hsl(262, 100%, 76%)  

#bba8dc Color Usage In CSS

 body {
    color: #bba8dc;
    }
 p {
    color: rgb(187, 168, 220);
    }
 header {
    border-bottom:1px solid #bba8dc;
    }
Recent Random Colors