Random Color Generator

#f2677a Color

Color Codes
Hex Code #f2677a
RGB Code rgb(242, 103, 122)
HSL Code hsl(352, 84%, 68%)

#f2677a Color Syntax

rgb()

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

 main {
    background-color: rgb(242, 103, 122);
   }

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(352, 84%, 68%);
  }

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

RGB Code Hex Code Preview
rgb(242, 103, 122, 10%) #f2677a1a  
rgb(242, 103, 122, 20%) #f2677a33  
rgb(242, 103, 122, 40%) #f2677a4C  
rgb(242, 103, 122, 60%) #f2677a99  
rgb(242, 103, 122, 80%) #f2677aCC  
rgb(242, 103, 122, 100%) #f2677aFF  

Saturated and desaturated colors of #f2677a

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

#f2677a Color Usage In CSS

 body {
    color: #f2677a;
    }
 p {
    color: rgb(242, 103, 122);
    }
 header {
    border-bottom:1px solid #f2677a;
    }
Recent Random Colors