Random Color Generator

#c97c02 Color

Color Codes
Hex Code #c97c02
RGB Code rgb(201, 124, 02)
HSL Code hsl(37, 98%, 40%)

#c97c02 Color Syntax

rgb()

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

 main {
    background-color: rgb(201, 124, 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(37, 98%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(201, 124, 02, 10%) #c97c021a  
rgb(201, 124, 02, 20%) #c97c0233  
rgb(201, 124, 02, 40%) #c97c024C  
rgb(201, 124, 02, 60%) #c97c0299  
rgb(201, 124, 02, 80%) #c97c02CC  
rgb(201, 124, 02, 100%) #c97c02FF  

Saturated and desaturated colors of #c97c02

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

#c97c02 Color Usage In CSS

 body {
    color: #c97c02;
    }
 p {
    color: rgb(201, 124, 02);
    }
 header {
    border-bottom:1px solid #c97c02;
    }
Recent Random Colors