Random Color Generator

#42ddb9 Color

Color Codes
Hex Code #42ddb9
RGB Code rgb(66, 221, 185)
HSL Code hsl(166, 70%, 56%)

#42ddb9 Color Syntax

rgb()

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

 main {
    background-color: rgb(66, 221, 185);
   }

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(166, 70%, 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 #42ddb9

RGB Code Hex Code Preview
rgb(66, 221, 185, 10%) #42ddb91a  
rgb(66, 221, 185, 20%) #42ddb933  
rgb(66, 221, 185, 40%) #42ddb94C  
rgb(66, 221, 185, 60%) #42ddb999  
rgb(66, 221, 185, 80%) #42ddb9CC  
rgb(66, 221, 185, 100%) #42ddb9FF  

Saturated and desaturated colors of #42ddb9

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

#42ddb9 Color Usage In CSS

 body {
    color: #42ddb9;
    }
 p {
    color: rgb(66, 221, 185);
    }
 header {
    border-bottom:1px solid #42ddb9;
    }
Recent Random Colors