Random Color Generator

#fe7dfb Color

Color Codes
Hex Code #fe7dfb
RGB Code rgb(254, 125, 251)
HSL Code hsl(301, 98%, 74%)

#fe7dfb Color Syntax

rgb()

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

 main {
    background-color: rgb(254, 125, 251);
   }

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(301, 98%, 74%);
  }

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

RGB Code Hex Code Preview
rgb(254, 125, 251, 10%) #fe7dfb1a  
rgb(254, 125, 251, 20%) #fe7dfb33  
rgb(254, 125, 251, 40%) #fe7dfb4C  
rgb(254, 125, 251, 60%) #fe7dfb99  
rgb(254, 125, 251, 80%) #fe7dfbCC  
rgb(254, 125, 251, 100%) #fe7dfbFF  

Saturated and desaturated colors of #fe7dfb

HSL Code Preview
hsl(301, 10%, 74%)  
hsl(301, 20%, 74%)  
hsl(301, 40%, 74%)  
hsl(301, 60%, 74%)  
hsl(301, 80%, 74%)  
hsl(301, 100%, 74%)  

#fe7dfb Color Usage In CSS

 body {
    color: #fe7dfb;
    }
 p {
    color: rgb(254, 125, 251);
    }
 header {
    border-bottom:1px solid #fe7dfb;
    }
Recent Random Colors