Random Color Generator

#daf918 Color

Color Codes
Hex Code #daf918
RGB Code rgb(218, 249, 24)
HSL Code hsl(68, 95%, 54%)

#daf918 Color Syntax

rgb()

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

 main {
    background-color: rgb(218, 249, 24);
   }

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(68, 95%, 54%);
  }

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

RGB Code Hex Code Preview
rgb(218, 249, 24, 10%) #daf9181a  
rgb(218, 249, 24, 20%) #daf91833  
rgb(218, 249, 24, 40%) #daf9184C  
rgb(218, 249, 24, 60%) #daf91899  
rgb(218, 249, 24, 80%) #daf918CC  
rgb(218, 249, 24, 100%) #daf918FF  

Saturated and desaturated colors of #daf918

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

#daf918 Color Usage In CSS

 body {
    color: #daf918;
    }
 p {
    color: rgb(218, 249, 24);
    }
 header {
    border-bottom:1px solid #daf918;
    }
Recent Random Colors