Random Color Generator

#f42479 Color

Color Codes
Hex Code #f42479
RGB Code rgb(244, 36, 121)
HSL Code hsl(335, 90%, 55%)

#f42479 Color Syntax

rgb()

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

 main {
    background-color: rgb(244, 36, 121);
   }

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(335, 90%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(244, 36, 121, 10%) #f424791a  
rgb(244, 36, 121, 20%) #f4247933  
rgb(244, 36, 121, 40%) #f424794C  
rgb(244, 36, 121, 60%) #f4247999  
rgb(244, 36, 121, 80%) #f42479CC  
rgb(244, 36, 121, 100%) #f42479FF  

Saturated and desaturated colors of #f42479

HSL Code Preview
hsl(335, 10%, 55%)  
hsl(335, 20%, 55%)  
hsl(335, 40%, 55%)  
hsl(335, 60%, 55%)  
hsl(335, 80%, 55%)  
hsl(335, 100%, 55%)  

#f42479 Color Usage In CSS

 body {
    color: #f42479;
    }
 p {
    color: rgb(244, 36, 121);
    }
 header {
    border-bottom:1px solid #f42479;
    }
Recent Random Colors