Random Color Generator

#b74f8d Color

Color Codes
Hex Code #b74f8d
RGB Code rgb(183, 79, 141)
HSL Code hsl(324, 42%, 51%)

#b74f8d Color Syntax

rgb()

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

 main {
    background-color: rgb(183, 79, 141);
   }

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(324, 42%, 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 #b74f8d

RGB Code Hex Code Preview
rgb(183, 79, 141, 10%) #b74f8d1a  
rgb(183, 79, 141, 20%) #b74f8d33  
rgb(183, 79, 141, 40%) #b74f8d4C  
rgb(183, 79, 141, 60%) #b74f8d99  
rgb(183, 79, 141, 80%) #b74f8dCC  
rgb(183, 79, 141, 100%) #b74f8dFF  

Saturated and desaturated colors of #b74f8d

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

#b74f8d Color Usage In CSS

 body {
    color: #b74f8d;
    }
 p {
    color: rgb(183, 79, 141);
    }
 header {
    border-bottom:1px solid #b74f8d;
    }
Recent Random Colors