Random Color Generator

#b2428e Color

Color Codes
Hex Code #b2428e
RGB Code rgb(178, 66, 142)
HSL Code hsl(319, 46%, 48%)

#b2428e Color Syntax

rgb()

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

 main {
    background-color: rgb(178, 66, 142);
   }

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(319, 46%, 48%);
  }

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

RGB Code Hex Code Preview
rgb(178, 66, 142, 10%) #b2428e1a  
rgb(178, 66, 142, 20%) #b2428e33  
rgb(178, 66, 142, 40%) #b2428e4C  
rgb(178, 66, 142, 60%) #b2428e99  
rgb(178, 66, 142, 80%) #b2428eCC  
rgb(178, 66, 142, 100%) #b2428eFF  

Saturated and desaturated colors of #b2428e

HSL Code Preview
hsl(319, 10%, 48%)  
hsl(319, 20%, 48%)  
hsl(319, 40%, 48%)  
hsl(319, 60%, 48%)  
hsl(319, 80%, 48%)  
hsl(319, 100%, 48%)  

#b2428e Color Usage In CSS

 body {
    color: #b2428e;
    }
 p {
    color: rgb(178, 66, 142);
    }
 header {
    border-bottom:1px solid #b2428e;
    }
Recent Random Colors