Random Color Generator

#f2406f Color

Color Codes
Hex Code #f2406f
RGB Code rgb(242, 64, 111)
HSL Code hsl(344, 87%, 60%)

#f2406f Color Syntax

rgb()

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

 main {
    background-color: rgb(242, 64, 111);
   }

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(344, 87%, 60%);
  }

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

RGB Code Hex Code Preview
rgb(242, 64, 111, 10%) #f2406f1a  
rgb(242, 64, 111, 20%) #f2406f33  
rgb(242, 64, 111, 40%) #f2406f4C  
rgb(242, 64, 111, 60%) #f2406f99  
rgb(242, 64, 111, 80%) #f2406fCC  
rgb(242, 64, 111, 100%) #f2406fFF  

Saturated and desaturated colors of #f2406f

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

#f2406f Color Usage In CSS

 body {
    color: #f2406f;
    }
 p {
    color: rgb(242, 64, 111);
    }
 header {
    border-bottom:1px solid #f2406f;
    }
Recent Random Colors