Random Color Generator

#db2312 Color

Color Codes
Hex Code #db2312
RGB Code rgb(219, 35, 18)
HSL Code hsl(5, 85%, 46%)

#db2312 Color Syntax

rgb()

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

 main {
    background-color: rgb(219, 35, 18);
   }

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(5, 85%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(219, 35, 18, 10%) #db23121a  
rgb(219, 35, 18, 20%) #db231233  
rgb(219, 35, 18, 40%) #db23124C  
rgb(219, 35, 18, 60%) #db231299  
rgb(219, 35, 18, 80%) #db2312CC  
rgb(219, 35, 18, 100%) #db2312FF  

Saturated and desaturated colors of #db2312

HSL Code Preview
hsl(5, 10%, 46%)  
hsl(5, 20%, 46%)  
hsl(5, 40%, 46%)  
hsl(5, 60%, 46%)  
hsl(5, 80%, 46%)  
hsl(5, 100%, 46%)  

#db2312 Color Usage In CSS

 body {
    color: #db2312;
    }
 p {
    color: rgb(219, 35, 18);
    }
 header {
    border-bottom:1px solid #db2312;
    }
Recent Random Colors