Random Color Generator

#fc04f9 Color

Color Codes
Hex Code #fc04f9
RGB Code rgb(252, 04, 249)
HSL Code hsl(301, 98%, 50%)

#fc04f9 Color Syntax

rgb()

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

 main {
    background-color: rgb(252, 04, 249);
   }

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(301, 98%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(252, 04, 249, 10%) #fc04f91a  
rgb(252, 04, 249, 20%) #fc04f933  
rgb(252, 04, 249, 40%) #fc04f94C  
rgb(252, 04, 249, 60%) #fc04f999  
rgb(252, 04, 249, 80%) #fc04f9CC  
rgb(252, 04, 249, 100%) #fc04f9FF  

Saturated and desaturated colors of #fc04f9

HSL Code Preview
hsl(301, 10%, 50%)  
hsl(301, 20%, 50%)  
hsl(301, 40%, 50%)  
hsl(301, 60%, 50%)  
hsl(301, 80%, 50%)  
hsl(301, 100%, 50%)  

#fc04f9 Color Usage In CSS

 body {
    color: #fc04f9;
    }
 p {
    color: rgb(252, 04, 249);
    }
 header {
    border-bottom:1px solid #fc04f9;
    }
Recent Random Colors