Random Color Generator

#f7066c Color

Color Codes
Hex Code #f7066c
RGB Code rgb(247, 06, 108)
HSL Code hsl(335, 95%, 50%)

#f7066c Color Syntax

rgb()

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

 main {
    background-color: rgb(247, 06, 108);
   }

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, 95%, 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 #f7066c

RGB Code Hex Code Preview
rgb(247, 06, 108, 10%) #f7066c1a  
rgb(247, 06, 108, 20%) #f7066c33  
rgb(247, 06, 108, 40%) #f7066c4C  
rgb(247, 06, 108, 60%) #f7066c99  
rgb(247, 06, 108, 80%) #f7066cCC  
rgb(247, 06, 108, 100%) #f7066cFF  

Saturated and desaturated colors of #f7066c

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

#f7066c Color Usage In CSS

 body {
    color: #f7066c;
    }
 p {
    color: rgb(247, 06, 108);
    }
 header {
    border-bottom:1px solid #f7066c;
    }
Recent Random Colors