Random Color Generator

#a02680 Color

Color Codes
Hex Code #a02680
RGB Code rgb(160, 38, 128)
HSL Code hsl(316, 62%, 39%)

#a02680 Color Syntax

rgb()

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

 main {
    background-color: rgb(160, 38, 128);
   }

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(316, 62%, 39%);
  }

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

RGB Code Hex Code Preview
rgb(160, 38, 128, 10%) #a026801a  
rgb(160, 38, 128, 20%) #a0268033  
rgb(160, 38, 128, 40%) #a026804C  
rgb(160, 38, 128, 60%) #a0268099  
rgb(160, 38, 128, 80%) #a02680CC  
rgb(160, 38, 128, 100%) #a02680FF  

Saturated and desaturated colors of #a02680

HSL Code Preview
hsl(316, 10%, 39%)  
hsl(316, 20%, 39%)  
hsl(316, 40%, 39%)  
hsl(316, 60%, 39%)  
hsl(316, 80%, 39%)  
hsl(316, 100%, 39%)  

#a02680 Color Usage In CSS

 body {
    color: #a02680;
    }
 p {
    color: rgb(160, 38, 128);
    }
 header {
    border-bottom:1px solid #a02680;
    }
Recent Random Colors