Random Color Generator

#b20dcb Color

Color Codes
Hex Code #b20dcb
RGB Code rgb(178, 13, 203)
HSL Code hsl(292, 88%, 42%)

#b20dcb Color Syntax

rgb()

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

 main {
    background-color: rgb(178, 13, 203);
   }

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(292, 88%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(178, 13, 203, 10%) #b20dcb1a  
rgb(178, 13, 203, 20%) #b20dcb33  
rgb(178, 13, 203, 40%) #b20dcb4C  
rgb(178, 13, 203, 60%) #b20dcb99  
rgb(178, 13, 203, 80%) #b20dcbCC  
rgb(178, 13, 203, 100%) #b20dcbFF  

Saturated and desaturated colors of #b20dcb

HSL Code Preview
hsl(292, 10%, 42%)  
hsl(292, 20%, 42%)  
hsl(292, 40%, 42%)  
hsl(292, 60%, 42%)  
hsl(292, 80%, 42%)  
hsl(292, 100%, 42%)  

#b20dcb Color Usage In CSS

 body {
    color: #b20dcb;
    }
 p {
    color: rgb(178, 13, 203);
    }
 header {
    border-bottom:1px solid #b20dcb;
    }
Recent Random Colors