Random Color Generator

#aa3256 Color

Color Codes
Hex Code #aa3256
RGB Code rgb(170, 50, 86)
HSL Code hsl(342, 55%, 43%)

#aa3256 Color Syntax

rgb()

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

 main {
    background-color: rgb(170, 50, 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(342, 55%, 43%);
  }

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

RGB Code Hex Code Preview
rgb(170, 50, 86, 10%) #aa32561a  
rgb(170, 50, 86, 20%) #aa325633  
rgb(170, 50, 86, 40%) #aa32564C  
rgb(170, 50, 86, 60%) #aa325699  
rgb(170, 50, 86, 80%) #aa3256CC  
rgb(170, 50, 86, 100%) #aa3256FF  

Saturated and desaturated colors of #aa3256

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

#aa3256 Color Usage In CSS

 body {
    color: #aa3256;
    }
 p {
    color: rgb(170, 50, 86);
    }
 header {
    border-bottom:1px solid #aa3256;
    }
Recent Random Colors