Random Color Generator

#a401c5 Color

Color Codes
Hex Code #a401c5
RGB Code rgb(164, 01, 197)
HSL Code hsl(290, 99%, 39%)

#a401c5 Color Syntax

rgb()

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

 main {
    background-color: rgb(164, 01, 197);
   }

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(290, 99%, 39%);
  }

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

RGB Code Hex Code Preview
rgb(164, 01, 197, 10%) #a401c51a  
rgb(164, 01, 197, 20%) #a401c533  
rgb(164, 01, 197, 40%) #a401c54C  
rgb(164, 01, 197, 60%) #a401c599  
rgb(164, 01, 197, 80%) #a401c5CC  
rgb(164, 01, 197, 100%) #a401c5FF  

Saturated and desaturated colors of #a401c5

HSL Code Preview
hsl(290, 10%, 39%)  
hsl(290, 20%, 39%)  
hsl(290, 40%, 39%)  
hsl(290, 60%, 39%)  
hsl(290, 80%, 39%)  
hsl(290, 100%, 39%)  

#a401c5 Color Usage In CSS

 body {
    color: #a401c5;
    }
 p {
    color: rgb(164, 01, 197);
    }
 header {
    border-bottom:1px solid #a401c5;
    }
Recent Random Colors