Random Color Generator

#aa2984 Color

Color Codes
Hex Code #aa2984
RGB Code rgb(170, 41, 132)
HSL Code hsl(318, 61%, 41%)

#aa2984 Color Syntax

rgb()

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

 main {
    background-color: rgb(170, 41, 132);
   }

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(318, 61%, 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 #aa2984

RGB Code Hex Code Preview
rgb(170, 41, 132, 10%) #aa29841a  
rgb(170, 41, 132, 20%) #aa298433  
rgb(170, 41, 132, 40%) #aa29844C  
rgb(170, 41, 132, 60%) #aa298499  
rgb(170, 41, 132, 80%) #aa2984CC  
rgb(170, 41, 132, 100%) #aa2984FF  

Saturated and desaturated colors of #aa2984

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

#aa2984 Color Usage In CSS

 body {
    color: #aa2984;
    }
 p {
    color: rgb(170, 41, 132);
    }
 header {
    border-bottom:1px solid #aa2984;
    }
Recent Random Colors