Random Color Generator

#8f1730 Color

Color Codes
Hex Code #8f1730
RGB Code rgb(143, 23, 48)
HSL Code hsl(348, 72%, 33%)

#8f1730 Color Syntax

rgb()

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

 main {
    background-color: rgb(143, 23, 48);
   }

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(348, 72%, 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 #8f1730

RGB Code Hex Code Preview
rgb(143, 23, 48, 10%) #8f17301a  
rgb(143, 23, 48, 20%) #8f173033  
rgb(143, 23, 48, 40%) #8f17304C  
rgb(143, 23, 48, 60%) #8f173099  
rgb(143, 23, 48, 80%) #8f1730CC  
rgb(143, 23, 48, 100%) #8f1730FF  

Saturated and desaturated colors of #8f1730

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

#8f1730 Color Usage In CSS

 body {
    color: #8f1730;
    }
 p {
    color: rgb(143, 23, 48);
    }
 header {
    border-bottom:1px solid #8f1730;
    }
Recent Random Colors