Random Color Generator

#b12220 Color

Color Codes
Hex Code #b12220
RGB Code rgb(177, 34, 32)
HSL Code hsl(1, 69%, 41%)

#b12220 Color Syntax

rgb()

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

 main {
    background-color: rgb(177, 34, 32);
   }

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(1, 69%, 41%);
  }

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

RGB Code Hex Code Preview
rgb(177, 34, 32, 10%) #b122201a  
rgb(177, 34, 32, 20%) #b1222033  
rgb(177, 34, 32, 40%) #b122204C  
rgb(177, 34, 32, 60%) #b1222099  
rgb(177, 34, 32, 80%) #b12220CC  
rgb(177, 34, 32, 100%) #b12220FF  

Saturated and desaturated colors of #b12220

HSL Code Preview
hsl(1, 10%, 41%)  
hsl(1, 20%, 41%)  
hsl(1, 40%, 41%)  
hsl(1, 60%, 41%)  
hsl(1, 80%, 41%)  
hsl(1, 100%, 41%)  

#b12220 Color Usage In CSS

 body {
    color: #b12220;
    }
 p {
    color: rgb(177, 34, 32);
    }
 header {
    border-bottom:1px solid #b12220;
    }
Recent Random Colors