Random Color Generator

#b66ae2 Color

Color Codes
Hex Code #b66ae2
RGB Code rgb(182, 106, 226)
HSL Code hsl(278, 67%, 65%)

#b66ae2 Color Syntax

rgb()

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

 main {
    background-color: rgb(182, 106, 226);
   }

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(278, 67%, 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 #b66ae2

RGB Code Hex Code Preview
rgb(182, 106, 226, 10%) #b66ae21a  
rgb(182, 106, 226, 20%) #b66ae233  
rgb(182, 106, 226, 40%) #b66ae24C  
rgb(182, 106, 226, 60%) #b66ae299  
rgb(182, 106, 226, 80%) #b66ae2CC  
rgb(182, 106, 226, 100%) #b66ae2FF  

Saturated and desaturated colors of #b66ae2

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

#b66ae2 Color Usage In CSS

 body {
    color: #b66ae2;
    }
 p {
    color: rgb(182, 106, 226);
    }
 header {
    border-bottom:1px solid #b66ae2;
    }
Recent Random Colors