Random Color Generator

#ad2a6c Color

Color Codes
Hex Code #ad2a6c
RGB Code rgb(173, 42, 108)
HSL Code hsl(330, 61%, 42%)

#ad2a6c Color Syntax

rgb()

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

 main {
    background-color: rgb(173, 42, 108);
   }

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(330, 61%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(173, 42, 108, 10%) #ad2a6c1a  
rgb(173, 42, 108, 20%) #ad2a6c33  
rgb(173, 42, 108, 40%) #ad2a6c4C  
rgb(173, 42, 108, 60%) #ad2a6c99  
rgb(173, 42, 108, 80%) #ad2a6cCC  
rgb(173, 42, 108, 100%) #ad2a6cFF  

Saturated and desaturated colors of #ad2a6c

HSL Code Preview
hsl(330, 10%, 42%)  
hsl(330, 20%, 42%)  
hsl(330, 40%, 42%)  
hsl(330, 60%, 42%)  
hsl(330, 80%, 42%)  
hsl(330, 100%, 42%)  

#ad2a6c Color Usage In CSS

 body {
    color: #ad2a6c;
    }
 p {
    color: rgb(173, 42, 108);
    }
 header {
    border-bottom:1px solid #ad2a6c;
    }
Recent Random Colors