Random Color Generator

#df1b42 Color

Color Codes
Hex Code #df1b42
RGB Code rgb(223, 27, 66)
HSL Code hsl(348, 78%, 49%)

#df1b42 Color Syntax

rgb()

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

 main {
    background-color: rgb(223, 27, 66);
   }

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(348, 78%, 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 #df1b42

RGB Code Hex Code Preview
rgb(223, 27, 66, 10%) #df1b421a  
rgb(223, 27, 66, 20%) #df1b4233  
rgb(223, 27, 66, 40%) #df1b424C  
rgb(223, 27, 66, 60%) #df1b4299  
rgb(223, 27, 66, 80%) #df1b42CC  
rgb(223, 27, 66, 100%) #df1b42FF  

Saturated and desaturated colors of #df1b42

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

#df1b42 Color Usage In CSS

 body {
    color: #df1b42;
    }
 p {
    color: rgb(223, 27, 66);
    }
 header {
    border-bottom:1px solid #df1b42;
    }
Recent Random Colors