Random Color Generator

#dcd702 Color

Color Codes
Hex Code #dcd702
RGB Code rgb(220, 215, 02)
HSL Code hsl(59, 98%, 44%)

#dcd702 Color Syntax

rgb()

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

 main {
    background-color: rgb(220, 215, 02);
   }

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(59, 98%, 44%);
  }

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

RGB Code Hex Code Preview
rgb(220, 215, 02, 10%) #dcd7021a  
rgb(220, 215, 02, 20%) #dcd70233  
rgb(220, 215, 02, 40%) #dcd7024C  
rgb(220, 215, 02, 60%) #dcd70299  
rgb(220, 215, 02, 80%) #dcd702CC  
rgb(220, 215, 02, 100%) #dcd702FF  

Saturated and desaturated colors of #dcd702

HSL Code Preview
hsl(59, 10%, 44%)  
hsl(59, 20%, 44%)  
hsl(59, 40%, 44%)  
hsl(59, 60%, 44%)  
hsl(59, 80%, 44%)  
hsl(59, 100%, 44%)  

#dcd702 Color Usage In CSS

 body {
    color: #dcd702;
    }
 p {
    color: rgb(220, 215, 02);
    }
 header {
    border-bottom:1px solid #dcd702;
    }
Recent Random Colors