Random Color Generator

#a81756 Color

Color Codes
Hex Code #a81756
RGB Code rgb(168, 23, 86)
HSL Code hsl(334, 76%, 37%)

#a81756 Color Syntax

rgb()

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

 main {
    background-color: rgb(168, 23, 86);
   }

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(334, 76%, 37%);
  }

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

RGB Code Hex Code Preview
rgb(168, 23, 86, 10%) #a817561a  
rgb(168, 23, 86, 20%) #a8175633  
rgb(168, 23, 86, 40%) #a817564C  
rgb(168, 23, 86, 60%) #a8175699  
rgb(168, 23, 86, 80%) #a81756CC  
rgb(168, 23, 86, 100%) #a81756FF  

Saturated and desaturated colors of #a81756

HSL Code Preview
hsl(334, 10%, 37%)  
hsl(334, 20%, 37%)  
hsl(334, 40%, 37%)  
hsl(334, 60%, 37%)  
hsl(334, 80%, 37%)  
hsl(334, 100%, 37%)  

#a81756 Color Usage In CSS

 body {
    color: #a81756;
    }
 p {
    color: rgb(168, 23, 86);
    }
 header {
    border-bottom:1px solid #a81756;
    }
Recent Random Colors