Random Color Generator

#ba757c Color

Color Codes
Hex Code #ba757c
RGB Code rgb(186, 117, 124)
HSL Code hsl(354, 33%, 59%)

#ba757c Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 117, 124);
   }

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(354, 33%, 59%);
  }

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

RGB Code Hex Code Preview
rgb(186, 117, 124, 10%) #ba757c1a  
rgb(186, 117, 124, 20%) #ba757c33  
rgb(186, 117, 124, 40%) #ba757c4C  
rgb(186, 117, 124, 60%) #ba757c99  
rgb(186, 117, 124, 80%) #ba757cCC  
rgb(186, 117, 124, 100%) #ba757cFF  

Saturated and desaturated colors of #ba757c

HSL Code Preview
hsl(354, 10%, 59%)  
hsl(354, 20%, 59%)  
hsl(354, 40%, 59%)  
hsl(354, 60%, 59%)  
hsl(354, 80%, 59%)  
hsl(354, 100%, 59%)  

#ba757c Color Usage In CSS

 body {
    color: #ba757c;
    }
 p {
    color: rgb(186, 117, 124);
    }
 header {
    border-bottom:1px solid #ba757c;
    }
Recent Random Colors