Random Color Generator

#f206ad Color

Color Codes
Hex Code #f206ad
RGB Code rgb(242, 06, 173)
HSL Code hsl(318, 95%, 49%)

#f206ad Color Syntax

rgb()

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

 main {
    background-color: rgb(242, 06, 173);
   }

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(318, 95%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(242, 06, 173, 10%) #f206ad1a  
rgb(242, 06, 173, 20%) #f206ad33  
rgb(242, 06, 173, 40%) #f206ad4C  
rgb(242, 06, 173, 60%) #f206ad99  
rgb(242, 06, 173, 80%) #f206adCC  
rgb(242, 06, 173, 100%) #f206adFF  

Saturated and desaturated colors of #f206ad

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

#f206ad Color Usage In CSS

 body {
    color: #f206ad;
    }
 p {
    color: rgb(242, 06, 173);
    }
 header {
    border-bottom:1px solid #f206ad;
    }
Recent Random Colors