Random Color Generator

#cfc756 Color

Color Codes
Hex Code #cfc756
RGB Code rgb(207, 199, 86)
HSL Code hsl(56, 56%, 57%)

#cfc756 Color Syntax

rgb()

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

 main {
    background-color: rgb(207, 199, 86);
   }

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, 56%, 57%);
  }

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

RGB Code Hex Code Preview
rgb(207, 199, 86, 10%) #cfc7561a  
rgb(207, 199, 86, 20%) #cfc75633  
rgb(207, 199, 86, 40%) #cfc7564C  
rgb(207, 199, 86, 60%) #cfc75699  
rgb(207, 199, 86, 80%) #cfc756CC  
rgb(207, 199, 86, 100%) #cfc756FF  

Saturated and desaturated colors of #cfc756

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

#cfc756 Color Usage In CSS

 body {
    color: #cfc756;
    }
 p {
    color: rgb(207, 199, 86);
    }
 header {
    border-bottom:1px solid #cfc756;
    }
Recent Random Colors