Random Color Generator

#7d2f32 Color

Color Codes
Hex Code #7d2f32
RGB Code rgb(125, 47, 50)
HSL Code hsl(358, 45%, 34%)

#7d2f32 Color Syntax

rgb()

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

 main {
    background-color: rgb(125, 47, 50);
   }

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(358, 45%, 34%);
  }

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

RGB Code Hex Code Preview
rgb(125, 47, 50, 10%) #7d2f321a  
rgb(125, 47, 50, 20%) #7d2f3233  
rgb(125, 47, 50, 40%) #7d2f324C  
rgb(125, 47, 50, 60%) #7d2f3299  
rgb(125, 47, 50, 80%) #7d2f32CC  
rgb(125, 47, 50, 100%) #7d2f32FF  

Saturated and desaturated colors of #7d2f32

HSL Code Preview
hsl(358, 10%, 34%)  
hsl(358, 20%, 34%)  
hsl(358, 40%, 34%)  
hsl(358, 60%, 34%)  
hsl(358, 80%, 34%)  
hsl(358, 100%, 34%)  

#7d2f32 Color Usage In CSS

 body {
    color: #7d2f32;
    }
 p {
    color: rgb(125, 47, 50);
    }
 header {
    border-bottom:1px solid #7d2f32;
    }
Recent Random Colors