Random Color Generator

#bb81cc Color

Color Codes
Hex Code #bb81cc
RGB Code rgb(187, 129, 204)
HSL Code hsl(286, 42%, 65%)

#bb81cc Color Syntax

rgb()

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

 main {
    background-color: rgb(187, 129, 204);
   }

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(286, 42%, 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 #bb81cc

RGB Code Hex Code Preview
rgb(187, 129, 204, 10%) #bb81cc1a  
rgb(187, 129, 204, 20%) #bb81cc33  
rgb(187, 129, 204, 40%) #bb81cc4C  
rgb(187, 129, 204, 60%) #bb81cc99  
rgb(187, 129, 204, 80%) #bb81ccCC  
rgb(187, 129, 204, 100%) #bb81ccFF  

Saturated and desaturated colors of #bb81cc

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

#bb81cc Color Usage In CSS

 body {
    color: #bb81cc;
    }
 p {
    color: rgb(187, 129, 204);
    }
 header {
    border-bottom:1px solid #bb81cc;
    }
Recent Random Colors