Random Color Generator

#d41718 Color

Color Codes
Hex Code #d41718
RGB Code rgb(212, 23, 24)
HSL Code hsl(360, 80%, 46%)

#d41718 Color Syntax

rgb()

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

 main {
    background-color: rgb(212, 23, 24);
   }

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(360, 80%, 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 #d41718

RGB Code Hex Code Preview
rgb(212, 23, 24, 10%) #d417181a  
rgb(212, 23, 24, 20%) #d4171833  
rgb(212, 23, 24, 40%) #d417184C  
rgb(212, 23, 24, 60%) #d4171899  
rgb(212, 23, 24, 80%) #d41718CC  
rgb(212, 23, 24, 100%) #d41718FF  

Saturated and desaturated colors of #d41718

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

#d41718 Color Usage In CSS

 body {
    color: #d41718;
    }
 p {
    color: rgb(212, 23, 24);
    }
 header {
    border-bottom:1px solid #d41718;
    }
Recent Random Colors