Random Color Generator

#d6c804 Color

Color Codes
Hex Code #d6c804
RGB Code rgb(214, 200, 04)
HSL Code hsl(56, 96%, 43%)

#d6c804 Color Syntax

rgb()

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

 main {
    background-color: rgb(214, 200, 04);
   }

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, 96%, 43%);
  }

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

RGB Code Hex Code Preview
rgb(214, 200, 04, 10%) #d6c8041a  
rgb(214, 200, 04, 20%) #d6c80433  
rgb(214, 200, 04, 40%) #d6c8044C  
rgb(214, 200, 04, 60%) #d6c80499  
rgb(214, 200, 04, 80%) #d6c804CC  
rgb(214, 200, 04, 100%) #d6c804FF  

Saturated and desaturated colors of #d6c804

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

#d6c804 Color Usage In CSS

 body {
    color: #d6c804;
    }
 p {
    color: rgb(214, 200, 04);
    }
 header {
    border-bottom:1px solid #d6c804;
    }
Recent Random Colors