Random Color Generator

#8e182c Color

Color Codes
Hex Code #8e182c
RGB Code rgb(142, 24, 44)
HSL Code hsl(350, 71%, 33%)

#8e182c Color Syntax

rgb()

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

 main {
    background-color: rgb(142, 24, 44);
   }

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(350, 71%, 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 #8e182c

RGB Code Hex Code Preview
rgb(142, 24, 44, 10%) #8e182c1a  
rgb(142, 24, 44, 20%) #8e182c33  
rgb(142, 24, 44, 40%) #8e182c4C  
rgb(142, 24, 44, 60%) #8e182c99  
rgb(142, 24, 44, 80%) #8e182cCC  
rgb(142, 24, 44, 100%) #8e182cFF  

Saturated and desaturated colors of #8e182c

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

#8e182c Color Usage In CSS

 body {
    color: #8e182c;
    }
 p {
    color: rgb(142, 24, 44);
    }
 header {
    border-bottom:1px solid #8e182c;
    }
Recent Random Colors