Random Color Generator

#aa2751 Color

Color Codes
Hex Code #aa2751
RGB Code rgb(170, 39, 81)
HSL Code hsl(341, 63%, 41%)

#aa2751 Color Syntax

rgb()

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

 main {
    background-color: rgb(170, 39, 81);
   }

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(341, 63%, 41%);
  }

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

RGB Code Hex Code Preview
rgb(170, 39, 81, 10%) #aa27511a  
rgb(170, 39, 81, 20%) #aa275133  
rgb(170, 39, 81, 40%) #aa27514C  
rgb(170, 39, 81, 60%) #aa275199  
rgb(170, 39, 81, 80%) #aa2751CC  
rgb(170, 39, 81, 100%) #aa2751FF  

Saturated and desaturated colors of #aa2751

HSL Code Preview
hsl(341, 10%, 41%)  
hsl(341, 20%, 41%)  
hsl(341, 40%, 41%)  
hsl(341, 60%, 41%)  
hsl(341, 80%, 41%)  
hsl(341, 100%, 41%)  

#aa2751 Color Usage In CSS

 body {
    color: #aa2751;
    }
 p {
    color: rgb(170, 39, 81);
    }
 header {
    border-bottom:1px solid #aa2751;
    }
Recent Random Colors