Random Color Generator

#df1f0f Color

Color Codes
Hex Code #df1f0f
RGB Code rgb(223, 31, 15)
HSL Code hsl(5, 87%, 47%)

#df1f0f Color Syntax

rgb()

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

 main {
    background-color: rgb(223, 31, 15);
   }

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, 87%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(223, 31, 15, 10%) #df1f0f1a  
rgb(223, 31, 15, 20%) #df1f0f33  
rgb(223, 31, 15, 40%) #df1f0f4C  
rgb(223, 31, 15, 60%) #df1f0f99  
rgb(223, 31, 15, 80%) #df1f0fCC  
rgb(223, 31, 15, 100%) #df1f0fFF  

Saturated and desaturated colors of #df1f0f

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

#df1f0f Color Usage In CSS

 body {
    color: #df1f0f;
    }
 p {
    color: rgb(223, 31, 15);
    }
 header {
    border-bottom:1px solid #df1f0f;
    }
Recent Random Colors