Random Color Generator

#b40223 Color

Color Codes
Hex Code #b40223
RGB Code rgb(180, 02, 35)
HSL Code hsl(349, 98%, 36%)

#b40223 Color Syntax

rgb()

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

 main {
    background-color: rgb(180, 02, 35);
   }

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(349, 98%, 36%);
  }

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

RGB Code Hex Code Preview
rgb(180, 02, 35, 10%) #b402231a  
rgb(180, 02, 35, 20%) #b4022333  
rgb(180, 02, 35, 40%) #b402234C  
rgb(180, 02, 35, 60%) #b4022399  
rgb(180, 02, 35, 80%) #b40223CC  
rgb(180, 02, 35, 100%) #b40223FF  

Saturated and desaturated colors of #b40223

HSL Code Preview
hsl(349, 10%, 36%)  
hsl(349, 20%, 36%)  
hsl(349, 40%, 36%)  
hsl(349, 60%, 36%)  
hsl(349, 80%, 36%)  
hsl(349, 100%, 36%)  

#b40223 Color Usage In CSS

 body {
    color: #b40223;
    }
 p {
    color: rgb(180, 02, 35);
    }
 header {
    border-bottom:1px solid #b40223;
    }
Recent Random Colors