Random Color Generator

#820de3 Color

Color Codes
Hex Code #820de3
RGB Code rgb(130, 13, 227)
HSL Code hsl(273, 89%, 47%)

#820de3 Color Syntax

rgb()

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

 main {
    background-color: rgb(130, 13, 227);
   }

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(273, 89%, 47%);
  }

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 #820de3

RGB Code Hex Code Preview
rgb(130, 13, 227, 10%) #820de31a  
rgb(130, 13, 227, 20%) #820de333  
rgb(130, 13, 227, 40%) #820de34C  
rgb(130, 13, 227, 60%) #820de399  
rgb(130, 13, 227, 80%) #820de3CC  
rgb(130, 13, 227, 100%) #820de3FF  

Saturated and desaturated colors of #820de3

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

#820de3 Color Usage In CSS

 body {
    color: #820de3;
    }
 p {
    color: rgb(130, 13, 227);
    }
 header {
    border-bottom:1px solid #820de3;
    }
Recent Random Colors