Random Color Generator

#a11374 Color

Color Codes
Hex Code #a11374
RGB Code rgb(161, 19, 116)
HSL Code hsl(319, 79%, 35%)

#a11374 Color Syntax

rgb()

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

 main {
    background-color: rgb(161, 19, 116);
   }

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(319, 79%, 35%);
  }

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

RGB Code Hex Code Preview
rgb(161, 19, 116, 10%) #a113741a  
rgb(161, 19, 116, 20%) #a1137433  
rgb(161, 19, 116, 40%) #a113744C  
rgb(161, 19, 116, 60%) #a1137499  
rgb(161, 19, 116, 80%) #a11374CC  
rgb(161, 19, 116, 100%) #a11374FF  

Saturated and desaturated colors of #a11374

HSL Code Preview
hsl(319, 10%, 35%)  
hsl(319, 20%, 35%)  
hsl(319, 40%, 35%)  
hsl(319, 60%, 35%)  
hsl(319, 80%, 35%)  
hsl(319, 100%, 35%)  

#a11374 Color Usage In CSS

 body {
    color: #a11374;
    }
 p {
    color: rgb(161, 19, 116);
    }
 header {
    border-bottom:1px solid #a11374;
    }
Recent Random Colors