Random Color Generator

#cdc78c Color

Color Codes
Hex Code #cdc78c
RGB Code rgb(205, 199, 140)
HSL Code hsl(54, 39%, 68%)

#cdc78c Color Syntax

rgb()

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

 main {
    background-color: rgb(205, 199, 140);
   }

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, 39%, 68%);
  }

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

RGB Code Hex Code Preview
rgb(205, 199, 140, 10%) #cdc78c1a  
rgb(205, 199, 140, 20%) #cdc78c33  
rgb(205, 199, 140, 40%) #cdc78c4C  
rgb(205, 199, 140, 60%) #cdc78c99  
rgb(205, 199, 140, 80%) #cdc78cCC  
rgb(205, 199, 140, 100%) #cdc78cFF  

Saturated and desaturated colors of #cdc78c

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

#cdc78c Color Usage In CSS

 body {
    color: #cdc78c;
    }
 p {
    color: rgb(205, 199, 140);
    }
 header {
    border-bottom:1px solid #cdc78c;
    }
Recent Random Colors