Random Color Generator

#8d120f Color

Color Codes
Hex Code #8d120f
RGB Code rgb(141, 18, 15)
HSL Code hsl(1, 81%, 31%)

#8d120f Color Syntax

rgb()

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

 main {
    background-color: rgb(141, 18, 15);
   }

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(1, 81%, 31%);
  }

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 #8d120f

RGB Code Hex Code Preview
rgb(141, 18, 15, 10%) #8d120f1a  
rgb(141, 18, 15, 20%) #8d120f33  
rgb(141, 18, 15, 40%) #8d120f4C  
rgb(141, 18, 15, 60%) #8d120f99  
rgb(141, 18, 15, 80%) #8d120fCC  
rgb(141, 18, 15, 100%) #8d120fFF  

Saturated and desaturated colors of #8d120f

HSL Code Preview
hsl(1, 10%, 31%)  
hsl(1, 20%, 31%)  
hsl(1, 40%, 31%)  
hsl(1, 60%, 31%)  
hsl(1, 80%, 31%)  
hsl(1, 100%, 31%)  

#8d120f Color Usage In CSS

 body {
    color: #8d120f;
    }
 p {
    color: rgb(141, 18, 15);
    }
 header {
    border-bottom:1px solid #8d120f;
    }
Recent Random Colors