Random Color Generator

#c9ca31 Color

Color Codes
Hex Code #c9ca31
RGB Code rgb(201, 202, 49)
HSL Code hsl(60, 61%, 49%)

#c9ca31 Color Syntax

rgb()

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

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

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, 61%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(201, 202, 49, 10%) #c9ca311a  
rgb(201, 202, 49, 20%) #c9ca3133  
rgb(201, 202, 49, 40%) #c9ca314C  
rgb(201, 202, 49, 60%) #c9ca3199  
rgb(201, 202, 49, 80%) #c9ca31CC  
rgb(201, 202, 49, 100%) #c9ca31FF  

Saturated and desaturated colors of #c9ca31

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

#c9ca31 Color Usage In CSS

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