Random Color Generator

#a165c8 Color

Color Codes
Hex Code #a165c8
RGB Code rgb(161, 101, 200)
HSL Code hsl(276, 47%, 59%)

#a165c8 Color Syntax

rgb()

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

 main {
    background-color: rgb(161, 101, 200);
   }

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(276, 47%, 59%);
  }

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

RGB Code Hex Code Preview
rgb(161, 101, 200, 10%) #a165c81a  
rgb(161, 101, 200, 20%) #a165c833  
rgb(161, 101, 200, 40%) #a165c84C  
rgb(161, 101, 200, 60%) #a165c899  
rgb(161, 101, 200, 80%) #a165c8CC  
rgb(161, 101, 200, 100%) #a165c8FF  

Saturated and desaturated colors of #a165c8

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

#a165c8 Color Usage In CSS

 body {
    color: #a165c8;
    }
 p {
    color: rgb(161, 101, 200);
    }
 header {
    border-bottom:1px solid #a165c8;
    }
Recent Random Colors