Random Color Generator

#2d1717 Color

Color Codes
Hex Code #2d1717
RGB Code rgb(45, 23, 23)
HSL Code hsl(0, 32%, 13%)

#2d1717 Color Syntax

rgb()

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

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

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(0, 32%, 13%);
  }

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 #2d1717

RGB Code Hex Code Preview
rgb(45, 23, 23, 10%) #2d17171a  
rgb(45, 23, 23, 20%) #2d171733  
rgb(45, 23, 23, 40%) #2d17174C  
rgb(45, 23, 23, 60%) #2d171799  
rgb(45, 23, 23, 80%) #2d1717CC  
rgb(45, 23, 23, 100%) #2d1717FF  

Saturated and desaturated colors of #2d1717

HSL Code Preview
hsl(0, 10%, 13%)  
hsl(0, 20%, 13%)  
hsl(0, 40%, 13%)  
hsl(0, 60%, 13%)  
hsl(0, 80%, 13%)  
hsl(0, 100%, 13%)  

#2d1717 Color Usage In CSS

 body {
    color: #2d1717;
    }
 p {
    color: rgb(45, 23, 23);
    }
 header {
    border-bottom:1px solid #2d1717;
    }
Recent Random Colors