Random Color Generator

#ccca31 Color

Color Codes
Hex Code #ccca31
RGB Code rgb(204, 202, 49)
HSL Code hsl(59, 61%, 50%)

#ccca31 Color Syntax

rgb()

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

 main {
    background-color: rgb(204, 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(59, 61%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(204, 202, 49, 10%) #ccca311a  
rgb(204, 202, 49, 20%) #ccca3133  
rgb(204, 202, 49, 40%) #ccca314C  
rgb(204, 202, 49, 60%) #ccca3199  
rgb(204, 202, 49, 80%) #ccca31CC  
rgb(204, 202, 49, 100%) #ccca31FF  

Saturated and desaturated colors of #ccca31

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

#ccca31 Color Usage In CSS

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