Random Color Generator

#a20eda Color

Color Codes
Hex Code #a20eda
RGB Code rgb(162, 14, 218)
HSL Code hsl(284, 88%, 45%)

#a20eda Color Syntax

rgb()

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

 main {
    background-color: rgb(162, 14, 218);
   }

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(284, 88%, 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 #a20eda

RGB Code Hex Code Preview
rgb(162, 14, 218, 10%) #a20eda1a  
rgb(162, 14, 218, 20%) #a20eda33  
rgb(162, 14, 218, 40%) #a20eda4C  
rgb(162, 14, 218, 60%) #a20eda99  
rgb(162, 14, 218, 80%) #a20edaCC  
rgb(162, 14, 218, 100%) #a20edaFF  

Saturated and desaturated colors of #a20eda

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

#a20eda Color Usage In CSS

 body {
    color: #a20eda;
    }
 p {
    color: rgb(162, 14, 218);
    }
 header {
    border-bottom:1px solid #a20eda;
    }
Recent Random Colors