Random Color Generator

#9ef8a6 Color

Color Codes
Hex Code #9ef8a6
RGB Code rgb(158, 248, 166)
HSL Code hsl(125, 87%, 80%)

#9ef8a6 Color Syntax

rgb()

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

 main {
    background-color: rgb(158, 248, 166);
   }

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(125, 87%, 80%);
  }

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 #9ef8a6

RGB Code Hex Code Preview
rgb(158, 248, 166, 10%) #9ef8a61a  
rgb(158, 248, 166, 20%) #9ef8a633  
rgb(158, 248, 166, 40%) #9ef8a64C  
rgb(158, 248, 166, 60%) #9ef8a699  
rgb(158, 248, 166, 80%) #9ef8a6CC  
rgb(158, 248, 166, 100%) #9ef8a6FF  

Saturated and desaturated colors of #9ef8a6

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

#9ef8a6 Color Usage In CSS

 body {
    color: #9ef8a6;
    }
 p {
    color: rgb(158, 248, 166);
    }
 header {
    border-bottom:1px solid #9ef8a6;
    }
Recent Random Colors