Random Color Generator

#af067f Color

Color Codes
Hex Code #af067f
RGB Code rgb(175, 06, 127)
HSL Code hsl(317, 93%, 35%)

#af067f Color Syntax

rgb()

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

 main {
    background-color: rgb(175, 06, 127);
   }

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, 93%, 35%);
  }

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

RGB Code Hex Code Preview
rgb(175, 06, 127, 10%) #af067f1a  
rgb(175, 06, 127, 20%) #af067f33  
rgb(175, 06, 127, 40%) #af067f4C  
rgb(175, 06, 127, 60%) #af067f99  
rgb(175, 06, 127, 80%) #af067fCC  
rgb(175, 06, 127, 100%) #af067fFF  

Saturated and desaturated colors of #af067f

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

#af067f Color Usage In CSS

 body {
    color: #af067f;
    }
 p {
    color: rgb(175, 06, 127);
    }
 header {
    border-bottom:1px solid #af067f;
    }
Recent Random Colors