Random Color Generator

#d98c2a Color

Color Codes
Hex Code #d98c2a
RGB Code rgb(217, 140, 42)
HSL Code hsl(34, 70%, 51%)

#d98c2a Color Syntax

rgb()

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

 main {
    background-color: rgb(217, 140, 42);
   }

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(34, 70%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(217, 140, 42, 10%) #d98c2a1a  
rgb(217, 140, 42, 20%) #d98c2a33  
rgb(217, 140, 42, 40%) #d98c2a4C  
rgb(217, 140, 42, 60%) #d98c2a99  
rgb(217, 140, 42, 80%) #d98c2aCC  
rgb(217, 140, 42, 100%) #d98c2aFF  

Saturated and desaturated colors of #d98c2a

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

#d98c2a Color Usage In CSS

 body {
    color: #d98c2a;
    }
 p {
    color: rgb(217, 140, 42);
    }
 header {
    border-bottom:1px solid #d98c2a;
    }
Recent Random Colors