Random Color Generator

#fa42cf Color

Color Codes
Hex Code #fa42cf
RGB Code rgb(250, 66, 207)
HSL Code hsl(314, 95%, 62%)

#fa42cf Color Syntax

rgb()

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

 main {
    background-color: rgb(250, 66, 207);
   }

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(314, 95%, 62%);
  }

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

RGB Code Hex Code Preview
rgb(250, 66, 207, 10%) #fa42cf1a  
rgb(250, 66, 207, 20%) #fa42cf33  
rgb(250, 66, 207, 40%) #fa42cf4C  
rgb(250, 66, 207, 60%) #fa42cf99  
rgb(250, 66, 207, 80%) #fa42cfCC  
rgb(250, 66, 207, 100%) #fa42cfFF  

Saturated and desaturated colors of #fa42cf

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

#fa42cf Color Usage In CSS

 body {
    color: #fa42cf;
    }
 p {
    color: rgb(250, 66, 207);
    }
 header {
    border-bottom:1px solid #fa42cf;
    }
Recent Random Colors