Random Color Generator

#fc2d9b Color

Color Codes
Hex Code #fc2d9b
RGB Code rgb(252, 45, 155)
HSL Code hsl(328, 97%, 58%)

#fc2d9b Color Syntax

rgb()

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

 main {
    background-color: rgb(252, 45, 155);
   }

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(328, 97%, 58%);
  }

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

RGB Code Hex Code Preview
rgb(252, 45, 155, 10%) #fc2d9b1a  
rgb(252, 45, 155, 20%) #fc2d9b33  
rgb(252, 45, 155, 40%) #fc2d9b4C  
rgb(252, 45, 155, 60%) #fc2d9b99  
rgb(252, 45, 155, 80%) #fc2d9bCC  
rgb(252, 45, 155, 100%) #fc2d9bFF  

Saturated and desaturated colors of #fc2d9b

HSL Code Preview
hsl(328, 10%, 58%)  
hsl(328, 20%, 58%)  
hsl(328, 40%, 58%)  
hsl(328, 60%, 58%)  
hsl(328, 80%, 58%)  
hsl(328, 100%, 58%)  

#fc2d9b Color Usage In CSS

 body {
    color: #fc2d9b;
    }
 p {
    color: rgb(252, 45, 155);
    }
 header {
    border-bottom:1px solid #fc2d9b;
    }
Recent Random Colors