Random Color Generator

#b9342a Color

Color Codes
Hex Code #b9342a
RGB Code rgb(185, 52, 42)
HSL Code hsl(4, 63%, 45%)

#b9342a Color Syntax

rgb()

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

 main {
    background-color: rgb(185, 52, 42);
   }

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(4, 63%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(185, 52, 42, 10%) #b9342a1a  
rgb(185, 52, 42, 20%) #b9342a33  
rgb(185, 52, 42, 40%) #b9342a4C  
rgb(185, 52, 42, 60%) #b9342a99  
rgb(185, 52, 42, 80%) #b9342aCC  
rgb(185, 52, 42, 100%) #b9342aFF  

Saturated and desaturated colors of #b9342a

HSL Code Preview
hsl(4, 10%, 45%)  
hsl(4, 20%, 45%)  
hsl(4, 40%, 45%)  
hsl(4, 60%, 45%)  
hsl(4, 80%, 45%)  
hsl(4, 100%, 45%)  

#b9342a Color Usage In CSS

 body {
    color: #b9342a;
    }
 p {
    color: rgb(185, 52, 42);
    }
 header {
    border-bottom:1px solid #b9342a;
    }
Recent Random Colors