Random Color Generator

#aa4662 Color

Color Codes
Hex Code #aa4662
RGB Code rgb(170, 70, 98)
HSL Code hsl(343, 42%, 47%)

#aa4662 Color Syntax

rgb()

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

 main {
    background-color: rgb(170, 70, 98);
   }

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(343, 42%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(170, 70, 98, 10%) #aa46621a  
rgb(170, 70, 98, 20%) #aa466233  
rgb(170, 70, 98, 40%) #aa46624C  
rgb(170, 70, 98, 60%) #aa466299  
rgb(170, 70, 98, 80%) #aa4662CC  
rgb(170, 70, 98, 100%) #aa4662FF  

Saturated and desaturated colors of #aa4662

HSL Code Preview
hsl(343, 10%, 47%)  
hsl(343, 20%, 47%)  
hsl(343, 40%, 47%)  
hsl(343, 60%, 47%)  
hsl(343, 80%, 47%)  
hsl(343, 100%, 47%)  

#aa4662 Color Usage In CSS

 body {
    color: #aa4662;
    }
 p {
    color: rgb(170, 70, 98);
    }
 header {
    border-bottom:1px solid #aa4662;
    }
Recent Random Colors