Random Color Generator

#b836e1 Color

Color Codes
Hex Code #b836e1
RGB Code rgb(184, 54, 225)
HSL Code hsl(286, 74%, 55%)

#b836e1 Color Syntax

rgb()

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

 main {
    background-color: rgb(184, 54, 225);
   }

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, 74%, 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 #b836e1

RGB Code Hex Code Preview
rgb(184, 54, 225, 10%) #b836e11a  
rgb(184, 54, 225, 20%) #b836e133  
rgb(184, 54, 225, 40%) #b836e14C  
rgb(184, 54, 225, 60%) #b836e199  
rgb(184, 54, 225, 80%) #b836e1CC  
rgb(184, 54, 225, 100%) #b836e1FF  

Saturated and desaturated colors of #b836e1

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

#b836e1 Color Usage In CSS

 body {
    color: #b836e1;
    }
 p {
    color: rgb(184, 54, 225);
    }
 header {
    border-bottom:1px solid #b836e1;
    }
Recent Random Colors