Random Color Generator

#cfd844 Color

Color Codes
Hex Code #cfd844
RGB Code rgb(207, 216, 68)
HSL Code hsl(64, 65%, 56%)

#cfd844 Color Syntax

rgb()

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

 main {
    background-color: rgb(207, 216, 68);
   }

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(64, 65%, 56%);
  }

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

RGB Code Hex Code Preview
rgb(207, 216, 68, 10%) #cfd8441a  
rgb(207, 216, 68, 20%) #cfd84433  
rgb(207, 216, 68, 40%) #cfd8444C  
rgb(207, 216, 68, 60%) #cfd84499  
rgb(207, 216, 68, 80%) #cfd844CC  
rgb(207, 216, 68, 100%) #cfd844FF  

Saturated and desaturated colors of #cfd844

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

#cfd844 Color Usage In CSS

 body {
    color: #cfd844;
    }
 p {
    color: rgb(207, 216, 68);
    }
 header {
    border-bottom:1px solid #cfd844;
    }
Recent Random Colors