Random Color Generator

#ba464a Color

Color Codes
Hex Code #ba464a
RGB Code rgb(186, 70, 74)
HSL Code hsl(358, 46%, 50%)

#ba464a Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 70, 74);
   }

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(358, 46%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(186, 70, 74, 10%) #ba464a1a  
rgb(186, 70, 74, 20%) #ba464a33  
rgb(186, 70, 74, 40%) #ba464a4C  
rgb(186, 70, 74, 60%) #ba464a99  
rgb(186, 70, 74, 80%) #ba464aCC  
rgb(186, 70, 74, 100%) #ba464aFF  

Saturated and desaturated colors of #ba464a

HSL Code Preview
hsl(358, 10%, 50%)  
hsl(358, 20%, 50%)  
hsl(358, 40%, 50%)  
hsl(358, 60%, 50%)  
hsl(358, 80%, 50%)  
hsl(358, 100%, 50%)  

#ba464a Color Usage In CSS

 body {
    color: #ba464a;
    }
 p {
    color: rgb(186, 70, 74);
    }
 header {
    border-bottom:1px solid #ba464a;
    }
Recent Random Colors