Random Color Generator

#3d1f18 Color

Color Codes
Hex Code #3d1f18
RGB Code rgb(61, 31, 24)
HSL Code hsl(11, 44%, 17%)

#3d1f18 Color Syntax

rgb()

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

 main {
    background-color: rgb(61, 31, 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(11, 44%, 17%);
  }

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 #3d1f18

RGB Code Hex Code Preview
rgb(61, 31, 24, 10%) #3d1f181a  
rgb(61, 31, 24, 20%) #3d1f1833  
rgb(61, 31, 24, 40%) #3d1f184C  
rgb(61, 31, 24, 60%) #3d1f1899  
rgb(61, 31, 24, 80%) #3d1f18CC  
rgb(61, 31, 24, 100%) #3d1f18FF  

Saturated and desaturated colors of #3d1f18

HSL Code Preview
hsl(11, 10%, 17%)  
hsl(11, 20%, 17%)  
hsl(11, 40%, 17%)  
hsl(11, 60%, 17%)  
hsl(11, 80%, 17%)  
hsl(11, 100%, 17%)  

#3d1f18 Color Usage In CSS

 body {
    color: #3d1f18;
    }
 p {
    color: rgb(61, 31, 24);
    }
 header {
    border-bottom:1px solid #3d1f18;
    }
Recent Random Colors