Random Color Generator

#ba3f41 Color

Color Codes
Hex Code #ba3f41
RGB Code rgb(186, 63, 65)
HSL Code hsl(359, 49%, 49%)

#ba3f41 Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 63, 65);
   }

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(359, 49%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(186, 63, 65, 10%) #ba3f411a  
rgb(186, 63, 65, 20%) #ba3f4133  
rgb(186, 63, 65, 40%) #ba3f414C  
rgb(186, 63, 65, 60%) #ba3f4199  
rgb(186, 63, 65, 80%) #ba3f41CC  
rgb(186, 63, 65, 100%) #ba3f41FF  

Saturated and desaturated colors of #ba3f41

HSL Code Preview
hsl(359, 10%, 49%)  
hsl(359, 20%, 49%)  
hsl(359, 40%, 49%)  
hsl(359, 60%, 49%)  
hsl(359, 80%, 49%)  
hsl(359, 100%, 49%)  

#ba3f41 Color Usage In CSS

 body {
    color: #ba3f41;
    }
 p {
    color: rgb(186, 63, 65);
    }
 header {
    border-bottom:1px solid #ba3f41;
    }
Recent Random Colors