Random Color Generator

#a367d1 Color

Color Codes
Hex Code #a367d1
RGB Code rgb(163, 103, 209)
HSL Code hsl(274, 54%, 61%)

#a367d1 Color Syntax

rgb()

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

 main {
    background-color: rgb(163, 103, 209);
   }

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(274, 54%, 61%);
  }

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

RGB Code Hex Code Preview
rgb(163, 103, 209, 10%) #a367d11a  
rgb(163, 103, 209, 20%) #a367d133  
rgb(163, 103, 209, 40%) #a367d14C  
rgb(163, 103, 209, 60%) #a367d199  
rgb(163, 103, 209, 80%) #a367d1CC  
rgb(163, 103, 209, 100%) #a367d1FF  

Saturated and desaturated colors of #a367d1

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

#a367d1 Color Usage In CSS

 body {
    color: #a367d1;
    }
 p {
    color: rgb(163, 103, 209);
    }
 header {
    border-bottom:1px solid #a367d1;
    }
Recent Random Colors