Random Color Generator

#f248ae Color

Color Codes
Hex Code #f248ae
RGB Code rgb(242, 72, 174)
HSL Code hsl(324, 87%, 62%)

#f248ae Color Syntax

rgb()

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

 main {
    background-color: rgb(242, 72, 174);
   }

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(324, 87%, 62%);
  }

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

RGB Code Hex Code Preview
rgb(242, 72, 174, 10%) #f248ae1a  
rgb(242, 72, 174, 20%) #f248ae33  
rgb(242, 72, 174, 40%) #f248ae4C  
rgb(242, 72, 174, 60%) #f248ae99  
rgb(242, 72, 174, 80%) #f248aeCC  
rgb(242, 72, 174, 100%) #f248aeFF  

Saturated and desaturated colors of #f248ae

HSL Code Preview
hsl(324, 10%, 62%)  
hsl(324, 20%, 62%)  
hsl(324, 40%, 62%)  
hsl(324, 60%, 62%)  
hsl(324, 80%, 62%)  
hsl(324, 100%, 62%)  

#f248ae Color Usage In CSS

 body {
    color: #f248ae;
    }
 p {
    color: rgb(242, 72, 174);
    }
 header {
    border-bottom:1px solid #f248ae;
    }
Recent Random Colors