Random Color Generator

#b1559c Color

Color Codes
Hex Code #b1559c
RGB Code rgb(177, 85, 156)
HSL Code hsl(314, 37%, 51%)

#b1559c Color Syntax

rgb()

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

 main {
    background-color: rgb(177, 85, 156);
   }

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(314, 37%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(177, 85, 156, 10%) #b1559c1a  
rgb(177, 85, 156, 20%) #b1559c33  
rgb(177, 85, 156, 40%) #b1559c4C  
rgb(177, 85, 156, 60%) #b1559c99  
rgb(177, 85, 156, 80%) #b1559cCC  
rgb(177, 85, 156, 100%) #b1559cFF  

Saturated and desaturated colors of #b1559c

HSL Code Preview
hsl(314, 10%, 51%)  
hsl(314, 20%, 51%)  
hsl(314, 40%, 51%)  
hsl(314, 60%, 51%)  
hsl(314, 80%, 51%)  
hsl(314, 100%, 51%)  

#b1559c Color Usage In CSS

 body {
    color: #b1559c;
    }
 p {
    color: rgb(177, 85, 156);
    }
 header {
    border-bottom:1px solid #b1559c;
    }
Recent Random Colors