Random Color Generator

#faf276 Color

Color Codes
Hex Code #faf276
RGB Code rgb(250, 242, 118)
HSL Code hsl(56, 93%, 72%)

#faf276 Color Syntax

rgb()

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

 main {
    background-color: rgb(250, 242, 118);
   }

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, 93%, 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 #faf276

RGB Code Hex Code Preview
rgb(250, 242, 118, 10%) #faf2761a  
rgb(250, 242, 118, 20%) #faf27633  
rgb(250, 242, 118, 40%) #faf2764C  
rgb(250, 242, 118, 60%) #faf27699  
rgb(250, 242, 118, 80%) #faf276CC  
rgb(250, 242, 118, 100%) #faf276FF  

Saturated and desaturated colors of #faf276

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%)  

#faf276 Color Usage In CSS

 body {
    color: #faf276;
    }
 p {
    color: rgb(250, 242, 118);
    }
 header {
    border-bottom:1px solid #faf276;
    }
Recent Random Colors