Random Color Generator

#ac0d72 Color

Color Codes
Hex Code #ac0d72
RGB Code rgb(172, 13, 114)
HSL Code hsl(322, 86%, 36%)

#ac0d72 Color Syntax

rgb()

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

 main {
    background-color: rgb(172, 13, 114);
   }

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(322, 86%, 36%);
  }

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

RGB Code Hex Code Preview
rgb(172, 13, 114, 10%) #ac0d721a  
rgb(172, 13, 114, 20%) #ac0d7233  
rgb(172, 13, 114, 40%) #ac0d724C  
rgb(172, 13, 114, 60%) #ac0d7299  
rgb(172, 13, 114, 80%) #ac0d72CC  
rgb(172, 13, 114, 100%) #ac0d72FF  

Saturated and desaturated colors of #ac0d72

HSL Code Preview
hsl(322, 10%, 36%)  
hsl(322, 20%, 36%)  
hsl(322, 40%, 36%)  
hsl(322, 60%, 36%)  
hsl(322, 80%, 36%)  
hsl(322, 100%, 36%)  

#ac0d72 Color Usage In CSS

 body {
    color: #ac0d72;
    }
 p {
    color: rgb(172, 13, 114);
    }
 header {
    border-bottom:1px solid #ac0d72;
    }
Recent Random Colors