Random Color Generator

#6a151e Color

Color Codes
Hex Code #6a151e
RGB Code rgb(106, 21, 30)
HSL Code hsl(354, 67%, 25%)

#6a151e Color Syntax

rgb()

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

 main {
    background-color: rgb(106, 21, 30);
   }

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(354, 67%, 25%);
  }

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 #6a151e

RGB Code Hex Code Preview
rgb(106, 21, 30, 10%) #6a151e1a  
rgb(106, 21, 30, 20%) #6a151e33  
rgb(106, 21, 30, 40%) #6a151e4C  
rgb(106, 21, 30, 60%) #6a151e99  
rgb(106, 21, 30, 80%) #6a151eCC  
rgb(106, 21, 30, 100%) #6a151eFF  

Saturated and desaturated colors of #6a151e

HSL Code Preview
hsl(354, 10%, 25%)  
hsl(354, 20%, 25%)  
hsl(354, 40%, 25%)  
hsl(354, 60%, 25%)  
hsl(354, 80%, 25%)  
hsl(354, 100%, 25%)  

#6a151e Color Usage In CSS

 body {
    color: #6a151e;
    }
 p {
    color: rgb(106, 21, 30);
    }
 header {
    border-bottom:1px solid #6a151e;
    }
Recent Random Colors