Random Color Generator

#fef573 Color

Color Codes
Hex Code #fef573
RGB Code rgb(254, 245, 115)
HSL Code hsl(56, 99%, 72%)

#fef573 Color Syntax

rgb()

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

 main {
    background-color: rgb(254, 245, 115);
   }

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(56, 99%, 72%);
  }

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

RGB Code Hex Code Preview
rgb(254, 245, 115, 10%) #fef5731a  
rgb(254, 245, 115, 20%) #fef57333  
rgb(254, 245, 115, 40%) #fef5734C  
rgb(254, 245, 115, 60%) #fef57399  
rgb(254, 245, 115, 80%) #fef573CC  
rgb(254, 245, 115, 100%) #fef573FF  

Saturated and desaturated colors of #fef573

HSL Code Preview
hsl(56, 10%, 72%)  
hsl(56, 20%, 72%)  
hsl(56, 40%, 72%)  
hsl(56, 60%, 72%)  
hsl(56, 80%, 72%)  
hsl(56, 100%, 72%)  

#fef573 Color Usage In CSS

 body {
    color: #fef573;
    }
 p {
    color: rgb(254, 245, 115);
    }
 header {
    border-bottom:1px solid #fef573;
    }
Recent Random Colors