Random Color Generator

#fc2d8b Color

Color Codes
Hex Code #fc2d8b
RGB Code rgb(252, 45, 139)
HSL Code hsl(333, 97%, 58%)

#fc2d8b Color Syntax

rgb()

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

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

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, 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 #fc2d8b

RGB Code Hex Code Preview
rgb(252, 45, 139, 10%) #fc2d8b1a  
rgb(252, 45, 139, 20%) #fc2d8b33  
rgb(252, 45, 139, 40%) #fc2d8b4C  
rgb(252, 45, 139, 60%) #fc2d8b99  
rgb(252, 45, 139, 80%) #fc2d8bCC  
rgb(252, 45, 139, 100%) #fc2d8bFF  

Saturated and desaturated colors of #fc2d8b

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

#fc2d8b Color Usage In CSS

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