Random Color Generator

#fe2872 Color

Color Codes
Hex Code #fe2872
RGB Code rgb(254, 40, 114)
HSL Code hsl(339, 99%, 58%)

#fe2872 Color Syntax

rgb()

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

 main {
    background-color: rgb(254, 40, 114);
   }

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(339, 99%, 58%);
  }

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

RGB Code Hex Code Preview
rgb(254, 40, 114, 10%) #fe28721a  
rgb(254, 40, 114, 20%) #fe287233  
rgb(254, 40, 114, 40%) #fe28724C  
rgb(254, 40, 114, 60%) #fe287299  
rgb(254, 40, 114, 80%) #fe2872CC  
rgb(254, 40, 114, 100%) #fe2872FF  

Saturated and desaturated colors of #fe2872

HSL Code Preview
hsl(339, 10%, 58%)  
hsl(339, 20%, 58%)  
hsl(339, 40%, 58%)  
hsl(339, 60%, 58%)  
hsl(339, 80%, 58%)  
hsl(339, 100%, 58%)  

#fe2872 Color Usage In CSS

 body {
    color: #fe2872;
    }
 p {
    color: rgb(254, 40, 114);
    }
 header {
    border-bottom:1px solid #fe2872;
    }
Recent Random Colors