Random Color Generator

#cfc577 Color

Color Codes
Hex Code #cfc577
RGB Code rgb(207, 197, 119)
HSL Code hsl(53, 48%, 64%)

#cfc577 Color Syntax

rgb()

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

 main {
    background-color: rgb(207, 197, 119);
   }

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(53, 48%, 64%);
  }

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

RGB Code Hex Code Preview
rgb(207, 197, 119, 10%) #cfc5771a  
rgb(207, 197, 119, 20%) #cfc57733  
rgb(207, 197, 119, 40%) #cfc5774C  
rgb(207, 197, 119, 60%) #cfc57799  
rgb(207, 197, 119, 80%) #cfc577CC  
rgb(207, 197, 119, 100%) #cfc577FF  

Saturated and desaturated colors of #cfc577

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

#cfc577 Color Usage In CSS

 body {
    color: #cfc577;
    }
 p {
    color: rgb(207, 197, 119);
    }
 header {
    border-bottom:1px solid #cfc577;
    }
Recent Random Colors