Random Color Generator

#fd2f96 Color

Color Codes
Hex Code #fd2f96
RGB Code rgb(253, 47, 150)
HSL Code hsl(330, 98%, 59%)

#fd2f96 Color Syntax

rgb()

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

 main {
    background-color: rgb(253, 47, 150);
   }

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(330, 98%, 59%);
  }

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

RGB Code Hex Code Preview
rgb(253, 47, 150, 10%) #fd2f961a  
rgb(253, 47, 150, 20%) #fd2f9633  
rgb(253, 47, 150, 40%) #fd2f964C  
rgb(253, 47, 150, 60%) #fd2f9699  
rgb(253, 47, 150, 80%) #fd2f96CC  
rgb(253, 47, 150, 100%) #fd2f96FF  

Saturated and desaturated colors of #fd2f96

HSL Code Preview
hsl(330, 10%, 59%)  
hsl(330, 20%, 59%)  
hsl(330, 40%, 59%)  
hsl(330, 60%, 59%)  
hsl(330, 80%, 59%)  
hsl(330, 100%, 59%)  

#fd2f96 Color Usage In CSS

 body {
    color: #fd2f96;
    }
 p {
    color: rgb(253, 47, 150);
    }
 header {
    border-bottom:1px solid #fd2f96;
    }
Recent Random Colors