Random Color Generator

#b55591 Color

Color Codes
Hex Code #b55591
RGB Code rgb(181, 85, 145)
HSL Code hsl(323, 39%, 52%)

#b55591 Color Syntax

rgb()

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

 main {
    background-color: rgb(181, 85, 145);
   }

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(323, 39%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(181, 85, 145, 10%) #b555911a  
rgb(181, 85, 145, 20%) #b5559133  
rgb(181, 85, 145, 40%) #b555914C  
rgb(181, 85, 145, 60%) #b5559199  
rgb(181, 85, 145, 80%) #b55591CC  
rgb(181, 85, 145, 100%) #b55591FF  

Saturated and desaturated colors of #b55591

HSL Code Preview
hsl(323, 10%, 52%)  
hsl(323, 20%, 52%)  
hsl(323, 40%, 52%)  
hsl(323, 60%, 52%)  
hsl(323, 80%, 52%)  
hsl(323, 100%, 52%)  

#b55591 Color Usage In CSS

 body {
    color: #b55591;
    }
 p {
    color: rgb(181, 85, 145);
    }
 header {
    border-bottom:1px solid #b55591;
    }
Recent Random Colors