Random Color Generator

#a001cd Color

Color Codes
Hex Code #a001cd
RGB Code rgb(160, 01, 205)
HSL Code hsl(287, 99%, 40%)

#a001cd Color Syntax

rgb()

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

 main {
    background-color: rgb(160, 01, 205);
   }

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(287, 99%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(160, 01, 205, 10%) #a001cd1a  
rgb(160, 01, 205, 20%) #a001cd33  
rgb(160, 01, 205, 40%) #a001cd4C  
rgb(160, 01, 205, 60%) #a001cd99  
rgb(160, 01, 205, 80%) #a001cdCC  
rgb(160, 01, 205, 100%) #a001cdFF  

Saturated and desaturated colors of #a001cd

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

#a001cd Color Usage In CSS

 body {
    color: #a001cd;
    }
 p {
    color: rgb(160, 01, 205);
    }
 header {
    border-bottom:1px solid #a001cd;
    }
Recent Random Colors