Random Color Generator

#a04ecb Color

Color Codes
Hex Code #a04ecb
RGB Code rgb(160, 78, 203)
HSL Code hsl(279, 55%, 55%)

#a04ecb Color Syntax

rgb()

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

 main {
    background-color: rgb(160, 78, 203);
   }

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(279, 55%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(160, 78, 203, 10%) #a04ecb1a  
rgb(160, 78, 203, 20%) #a04ecb33  
rgb(160, 78, 203, 40%) #a04ecb4C  
rgb(160, 78, 203, 60%) #a04ecb99  
rgb(160, 78, 203, 80%) #a04ecbCC  
rgb(160, 78, 203, 100%) #a04ecbFF  

Saturated and desaturated colors of #a04ecb

HSL Code Preview
hsl(279, 10%, 55%)  
hsl(279, 20%, 55%)  
hsl(279, 40%, 55%)  
hsl(279, 60%, 55%)  
hsl(279, 80%, 55%)  
hsl(279, 100%, 55%)  

#a04ecb Color Usage In CSS

 body {
    color: #a04ecb;
    }
 p {
    color: rgb(160, 78, 203);
    }
 header {
    border-bottom:1px solid #a04ecb;
    }
Recent Random Colors