Random Color Generator

#af90ce Color

Color Codes
Hex Code #af90ce
RGB Code rgb(175, 144, 206)
HSL Code hsl(270, 39%, 69%)

#af90ce Color Syntax

rgb()

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

 main {
    background-color: rgb(175, 144, 206);
   }

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(270, 39%, 69%);
  }

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

RGB Code Hex Code Preview
rgb(175, 144, 206, 10%) #af90ce1a  
rgb(175, 144, 206, 20%) #af90ce33  
rgb(175, 144, 206, 40%) #af90ce4C  
rgb(175, 144, 206, 60%) #af90ce99  
rgb(175, 144, 206, 80%) #af90ceCC  
rgb(175, 144, 206, 100%) #af90ceFF  

Saturated and desaturated colors of #af90ce

HSL Code Preview
hsl(270, 10%, 69%)  
hsl(270, 20%, 69%)  
hsl(270, 40%, 69%)  
hsl(270, 60%, 69%)  
hsl(270, 80%, 69%)  
hsl(270, 100%, 69%)  

#af90ce Color Usage In CSS

 body {
    color: #af90ce;
    }
 p {
    color: rgb(175, 144, 206);
    }
 header {
    border-bottom:1px solid #af90ce;
    }
Recent Random Colors