Random Color Generator

#cfc778 Color

Color Codes
Hex Code #cfc778
RGB Code rgb(207, 199, 120)
HSL Code hsl(54, 48%, 64%)

#cfc778 Color Syntax

rgb()

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

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

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(54, 48%, 64%);
  }

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

RGB Code Hex Code Preview
rgb(207, 199, 120, 10%) #cfc7781a  
rgb(207, 199, 120, 20%) #cfc77833  
rgb(207, 199, 120, 40%) #cfc7784C  
rgb(207, 199, 120, 60%) #cfc77899  
rgb(207, 199, 120, 80%) #cfc778CC  
rgb(207, 199, 120, 100%) #cfc778FF  

Saturated and desaturated colors of #cfc778

HSL Code Preview
hsl(54, 10%, 64%)  
hsl(54, 20%, 64%)  
hsl(54, 40%, 64%)  
hsl(54, 60%, 64%)  
hsl(54, 80%, 64%)  
hsl(54, 100%, 64%)  

#cfc778 Color Usage In CSS

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