Random Color Generator

#fb52ce Color

Color Codes
Hex Code #fb52ce
RGB Code rgb(251, 82, 206)
HSL Code hsl(316, 95%, 65%)

#fb52ce Color Syntax

rgb()

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

 main {
    background-color: rgb(251, 82, 206);
   }

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(316, 95%, 65%);
  }

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

RGB Code Hex Code Preview
rgb(251, 82, 206, 10%) #fb52ce1a  
rgb(251, 82, 206, 20%) #fb52ce33  
rgb(251, 82, 206, 40%) #fb52ce4C  
rgb(251, 82, 206, 60%) #fb52ce99  
rgb(251, 82, 206, 80%) #fb52ceCC  
rgb(251, 82, 206, 100%) #fb52ceFF  

Saturated and desaturated colors of #fb52ce

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

#fb52ce Color Usage In CSS

 body {
    color: #fb52ce;
    }
 p {
    color: rgb(251, 82, 206);
    }
 header {
    border-bottom:1px solid #fb52ce;
    }
Recent Random Colors