Random Color Generator

#870121 Color

Color Codes
Hex Code #870121
RGB Code rgb(135, 01, 33)
HSL Code hsl(346, 99%, 27%)

#870121 Color Syntax

rgb()

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

 main {
    background-color: rgb(135, 01, 33);
   }

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(346, 99%, 27%);
  }

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

RGB Code Hex Code Preview
rgb(135, 01, 33, 10%) #8701211a  
rgb(135, 01, 33, 20%) #87012133  
rgb(135, 01, 33, 40%) #8701214C  
rgb(135, 01, 33, 60%) #87012199  
rgb(135, 01, 33, 80%) #870121CC  
rgb(135, 01, 33, 100%) #870121FF  

Saturated and desaturated colors of #870121

HSL Code Preview
hsl(346, 10%, 27%)  
hsl(346, 20%, 27%)  
hsl(346, 40%, 27%)  
hsl(346, 60%, 27%)  
hsl(346, 80%, 27%)  
hsl(346, 100%, 27%)  

#870121 Color Usage In CSS

 body {
    color: #870121;
    }
 p {
    color: rgb(135, 01, 33);
    }
 header {
    border-bottom:1px solid #870121;
    }
Recent Random Colors