Random Color Generator

#b41b8a Color

Color Codes
Hex Code #b41b8a
RGB Code rgb(180, 27, 138)
HSL Code hsl(316, 74%, 41%)

#b41b8a Color Syntax

rgb()

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

 main {
    background-color: rgb(180, 27, 138);
   }

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(316, 74%, 41%);
  }

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

RGB Code Hex Code Preview
rgb(180, 27, 138, 10%) #b41b8a1a  
rgb(180, 27, 138, 20%) #b41b8a33  
rgb(180, 27, 138, 40%) #b41b8a4C  
rgb(180, 27, 138, 60%) #b41b8a99  
rgb(180, 27, 138, 80%) #b41b8aCC  
rgb(180, 27, 138, 100%) #b41b8aFF  

Saturated and desaturated colors of #b41b8a

HSL Code Preview
hsl(316, 10%, 41%)  
hsl(316, 20%, 41%)  
hsl(316, 40%, 41%)  
hsl(316, 60%, 41%)  
hsl(316, 80%, 41%)  
hsl(316, 100%, 41%)  

#b41b8a Color Usage In CSS

 body {
    color: #b41b8a;
    }
 p {
    color: rgb(180, 27, 138);
    }
 header {
    border-bottom:1px solid #b41b8a;
    }
Recent Random Colors