Random Color Generator

#fcb842 Color

Color Codes
Hex Code #fcb842
RGB Code rgb(252, 184, 66)
HSL Code hsl(38, 97%, 62%)

#fcb842 Color Syntax

rgb()

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

 main {
    background-color: rgb(252, 184, 66);
   }

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(38, 97%, 62%);
  }

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

RGB Code Hex Code Preview
rgb(252, 184, 66, 10%) #fcb8421a  
rgb(252, 184, 66, 20%) #fcb84233  
rgb(252, 184, 66, 40%) #fcb8424C  
rgb(252, 184, 66, 60%) #fcb84299  
rgb(252, 184, 66, 80%) #fcb842CC  
rgb(252, 184, 66, 100%) #fcb842FF  

Saturated and desaturated colors of #fcb842

HSL Code Preview
hsl(38, 10%, 62%)  
hsl(38, 20%, 62%)  
hsl(38, 40%, 62%)  
hsl(38, 60%, 62%)  
hsl(38, 80%, 62%)  
hsl(38, 100%, 62%)  

#fcb842 Color Usage In CSS

 body {
    color: #fcb842;
    }
 p {
    color: rgb(252, 184, 66);
    }
 header {
    border-bottom:1px solid #fcb842;
    }
Recent Random Colors