Random Color Generator

#ab468e Color

Color Codes
Hex Code #ab468e
RGB Code rgb(171, 70, 142)
HSL Code hsl(317, 42%, 47%)

#ab468e Color Syntax

rgb()

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

 main {
    background-color: rgb(171, 70, 142);
   }

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(317, 42%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(171, 70, 142, 10%) #ab468e1a  
rgb(171, 70, 142, 20%) #ab468e33  
rgb(171, 70, 142, 40%) #ab468e4C  
rgb(171, 70, 142, 60%) #ab468e99  
rgb(171, 70, 142, 80%) #ab468eCC  
rgb(171, 70, 142, 100%) #ab468eFF  

Saturated and desaturated colors of #ab468e

HSL Code Preview
hsl(317, 10%, 47%)  
hsl(317, 20%, 47%)  
hsl(317, 40%, 47%)  
hsl(317, 60%, 47%)  
hsl(317, 80%, 47%)  
hsl(317, 100%, 47%)  

#ab468e Color Usage In CSS

 body {
    color: #ab468e;
    }
 p {
    color: rgb(171, 70, 142);
    }
 header {
    border-bottom:1px solid #ab468e;
    }
Recent Random Colors