Random Color Generator

#faf51d Color

Color Codes
Hex Code #faf51d
RGB Code rgb(250, 245, 29)
HSL Code hsl(59, 96%, 55%)

#faf51d Color Syntax

rgb()

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

 main {
    background-color: rgb(250, 245, 29);
   }

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(59, 96%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(250, 245, 29, 10%) #faf51d1a  
rgb(250, 245, 29, 20%) #faf51d33  
rgb(250, 245, 29, 40%) #faf51d4C  
rgb(250, 245, 29, 60%) #faf51d99  
rgb(250, 245, 29, 80%) #faf51dCC  
rgb(250, 245, 29, 100%) #faf51dFF  

Saturated and desaturated colors of #faf51d

HSL Code Preview
hsl(59, 10%, 55%)  
hsl(59, 20%, 55%)  
hsl(59, 40%, 55%)  
hsl(59, 60%, 55%)  
hsl(59, 80%, 55%)  
hsl(59, 100%, 55%)  

#faf51d Color Usage In CSS

 body {
    color: #faf51d;
    }
 p {
    color: rgb(250, 245, 29);
    }
 header {
    border-bottom:1px solid #faf51d;
    }
Recent Random Colors