Random Color Generator

#fd318e Color

Color Codes
Hex Code #fd318e
RGB Code rgb(253, 49, 142)
HSL Code hsl(333, 98%, 59%)

#fd318e Color Syntax

rgb()

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

 main {
    background-color: rgb(253, 49, 142);
   }

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(333, 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 #fd318e

RGB Code Hex Code Preview
rgb(253, 49, 142, 10%) #fd318e1a  
rgb(253, 49, 142, 20%) #fd318e33  
rgb(253, 49, 142, 40%) #fd318e4C  
rgb(253, 49, 142, 60%) #fd318e99  
rgb(253, 49, 142, 80%) #fd318eCC  
rgb(253, 49, 142, 100%) #fd318eFF  

Saturated and desaturated colors of #fd318e

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

#fd318e Color Usage In CSS

 body {
    color: #fd318e;
    }
 p {
    color: rgb(253, 49, 142);
    }
 header {
    border-bottom:1px solid #fd318e;
    }
Recent Random Colors