Random Color Generator

#dc9f00 Color

Color Codes
Hex Code #dc9f00
RGB Code rgb(220, 159, 00)
HSL Code hsl(43, 100%, 43%)

#dc9f00 Color Syntax

rgb()

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

 main {
    background-color: rgb(220, 159, 00);
   }

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(43, 100%, 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 #dc9f00

RGB Code Hex Code Preview
rgb(220, 159, 00, 10%) #dc9f001a  
rgb(220, 159, 00, 20%) #dc9f0033  
rgb(220, 159, 00, 40%) #dc9f004C  
rgb(220, 159, 00, 60%) #dc9f0099  
rgb(220, 159, 00, 80%) #dc9f00CC  
rgb(220, 159, 00, 100%) #dc9f00FF  

Saturated and desaturated colors of #dc9f00

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

#dc9f00 Color Usage In CSS

 body {
    color: #dc9f00;
    }
 p {
    color: rgb(220, 159, 00);
    }
 header {
    border-bottom:1px solid #dc9f00;
    }
Recent Random Colors