Random Color Generator

#f060aa Color

Color Codes
Hex Code #f060aa
RGB Code rgb(240, 96, 170)
HSL Code hsl(329, 83%, 66%)

#f060aa Color Syntax

rgb()

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

 main {
    background-color: rgb(240, 96, 170);
   }

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(329, 83%, 66%);
  }

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

RGB Code Hex Code Preview
rgb(240, 96, 170, 10%) #f060aa1a  
rgb(240, 96, 170, 20%) #f060aa33  
rgb(240, 96, 170, 40%) #f060aa4C  
rgb(240, 96, 170, 60%) #f060aa99  
rgb(240, 96, 170, 80%) #f060aaCC  
rgb(240, 96, 170, 100%) #f060aaFF  

Saturated and desaturated colors of #f060aa

HSL Code Preview
hsl(329, 10%, 66%)  
hsl(329, 20%, 66%)  
hsl(329, 40%, 66%)  
hsl(329, 60%, 66%)  
hsl(329, 80%, 66%)  
hsl(329, 100%, 66%)  

#f060aa Color Usage In CSS

 body {
    color: #f060aa;
    }
 p {
    color: rgb(240, 96, 170);
    }
 header {
    border-bottom:1px solid #f060aa;
    }
Recent Random Colors