Random Color Generator

#a41dc6 Color

Color Codes
Hex Code #a41dc6
RGB Code rgb(164, 29, 198)
HSL Code hsl(288, 74%, 45%)

#a41dc6 Color Syntax

rgb()

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

 main {
    background-color: rgb(164, 29, 198);
   }

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(288, 74%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(164, 29, 198, 10%) #a41dc61a  
rgb(164, 29, 198, 20%) #a41dc633  
rgb(164, 29, 198, 40%) #a41dc64C  
rgb(164, 29, 198, 60%) #a41dc699  
rgb(164, 29, 198, 80%) #a41dc6CC  
rgb(164, 29, 198, 100%) #a41dc6FF  

Saturated and desaturated colors of #a41dc6

HSL Code Preview
hsl(288, 10%, 45%)  
hsl(288, 20%, 45%)  
hsl(288, 40%, 45%)  
hsl(288, 60%, 45%)  
hsl(288, 80%, 45%)  
hsl(288, 100%, 45%)  

#a41dc6 Color Usage In CSS

 body {
    color: #a41dc6;
    }
 p {
    color: rgb(164, 29, 198);
    }
 header {
    border-bottom:1px solid #a41dc6;
    }
Recent Random Colors