Random Color Generator

#872225 Color

Color Codes
Hex Code #872225
RGB Code rgb(135, 34, 37)
HSL Code hsl(358, 60%, 33%)

#872225 Color Syntax

rgb()

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

 main {
    background-color: rgb(135, 34, 37);
   }

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, 60%, 33%);
  }

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

RGB Code Hex Code Preview
rgb(135, 34, 37, 10%) #8722251a  
rgb(135, 34, 37, 20%) #87222533  
rgb(135, 34, 37, 40%) #8722254C  
rgb(135, 34, 37, 60%) #87222599  
rgb(135, 34, 37, 80%) #872225CC  
rgb(135, 34, 37, 100%) #872225FF  

Saturated and desaturated colors of #872225

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

#872225 Color Usage In CSS

 body {
    color: #872225;
    }
 p {
    color: rgb(135, 34, 37);
    }
 header {
    border-bottom:1px solid #872225;
    }
Recent Random Colors