Random Color Generator

#a81d46 Color

Color Codes
Hex Code #a81d46
RGB Code rgb(168, 29, 70)
HSL Code hsl(342, 71%, 39%)

#a81d46 Color Syntax

rgb()

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

 main {
    background-color: rgb(168, 29, 70);
   }

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(342, 71%, 39%);
  }

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

RGB Code Hex Code Preview
rgb(168, 29, 70, 10%) #a81d461a  
rgb(168, 29, 70, 20%) #a81d4633  
rgb(168, 29, 70, 40%) #a81d464C  
rgb(168, 29, 70, 60%) #a81d4699  
rgb(168, 29, 70, 80%) #a81d46CC  
rgb(168, 29, 70, 100%) #a81d46FF  

Saturated and desaturated colors of #a81d46

HSL Code Preview
hsl(342, 10%, 39%)  
hsl(342, 20%, 39%)  
hsl(342, 40%, 39%)  
hsl(342, 60%, 39%)  
hsl(342, 80%, 39%)  
hsl(342, 100%, 39%)  

#a81d46 Color Usage In CSS

 body {
    color: #a81d46;
    }
 p {
    color: rgb(168, 29, 70);
    }
 header {
    border-bottom:1px solid #a81d46;
    }
Recent Random Colors