Random Color Generator

#a807a0 Color

Color Codes
Hex Code #a807a0
RGB Code rgb(168, 07, 160)
HSL Code hsl(303, 92%, 34%)

#a807a0 Color Syntax

rgb()

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

 main {
    background-color: rgb(168, 07, 160);
   }

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(303, 92%, 34%);
  }

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

RGB Code Hex Code Preview
rgb(168, 07, 160, 10%) #a807a01a  
rgb(168, 07, 160, 20%) #a807a033  
rgb(168, 07, 160, 40%) #a807a04C  
rgb(168, 07, 160, 60%) #a807a099  
rgb(168, 07, 160, 80%) #a807a0CC  
rgb(168, 07, 160, 100%) #a807a0FF  

Saturated and desaturated colors of #a807a0

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

#a807a0 Color Usage In CSS

 body {
    color: #a807a0;
    }
 p {
    color: rgb(168, 07, 160);
    }
 header {
    border-bottom:1px solid #a807a0;
    }
Recent Random Colors