Random Color Generator

#a10472 Color

Color Codes
Hex Code #a10472
RGB Code rgb(161, 04, 114)
HSL Code hsl(318, 95%, 32%)

#a10472 Color Syntax

rgb()

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

 main {
    background-color: rgb(161, 04, 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(318, 95%, 32%);
  }

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

RGB Code Hex Code Preview
rgb(161, 04, 114, 10%) #a104721a  
rgb(161, 04, 114, 20%) #a1047233  
rgb(161, 04, 114, 40%) #a104724C  
rgb(161, 04, 114, 60%) #a1047299  
rgb(161, 04, 114, 80%) #a10472CC  
rgb(161, 04, 114, 100%) #a10472FF  

Saturated and desaturated colors of #a10472

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

#a10472 Color Usage In CSS

 body {
    color: #a10472;
    }
 p {
    color: rgb(161, 04, 114);
    }
 header {
    border-bottom:1px solid #a10472;
    }
Recent Random Colors