Random Color Generator

#c9c901 Color

Color Codes
Hex Code #c9c901
RGB Code rgb(201, 201, 01)
HSL Code hsl(60, 99%, 40%)

#c9c901 Color Syntax

rgb()

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

 main {
    background-color: rgb(201, 201, 01);
   }

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(60, 99%, 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 #c9c901

RGB Code Hex Code Preview
rgb(201, 201, 01, 10%) #c9c9011a  
rgb(201, 201, 01, 20%) #c9c90133  
rgb(201, 201, 01, 40%) #c9c9014C  
rgb(201, 201, 01, 60%) #c9c90199  
rgb(201, 201, 01, 80%) #c9c901CC  
rgb(201, 201, 01, 100%) #c9c901FF  

Saturated and desaturated colors of #c9c901

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

#c9c901 Color Usage In CSS

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