Random Color Generator

#b945d1 Color

Color Codes
Hex Code #b945d1
RGB Code rgb(185, 69, 209)
HSL Code hsl(290, 60%, 55%)

#b945d1 Color Syntax

rgb()

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

 main {
    background-color: rgb(185, 69, 209);
   }

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, 60%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(185, 69, 209, 10%) #b945d11a  
rgb(185, 69, 209, 20%) #b945d133  
rgb(185, 69, 209, 40%) #b945d14C  
rgb(185, 69, 209, 60%) #b945d199  
rgb(185, 69, 209, 80%) #b945d1CC  
rgb(185, 69, 209, 100%) #b945d1FF  

Saturated and desaturated colors of #b945d1

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

#b945d1 Color Usage In CSS

 body {
    color: #b945d1;
    }
 p {
    color: rgb(185, 69, 209);
    }
 header {
    border-bottom:1px solid #b945d1;
    }
Recent Random Colors