Random Color Generator

#3a8b87 Color

Color Codes
Hex Code #3a8b87
RGB Code rgb(58, 139, 135)
HSL Code hsl(177, 41%, 39%)

#3a8b87 Color Syntax

rgb()

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

 main {
    background-color: rgb(58, 139, 135);
   }

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(177, 41%, 39%);
  }

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 #3a8b87

RGB Code Hex Code Preview
rgb(58, 139, 135, 10%) #3a8b871a  
rgb(58, 139, 135, 20%) #3a8b8733  
rgb(58, 139, 135, 40%) #3a8b874C  
rgb(58, 139, 135, 60%) #3a8b8799  
rgb(58, 139, 135, 80%) #3a8b87CC  
rgb(58, 139, 135, 100%) #3a8b87FF  

Saturated and desaturated colors of #3a8b87

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

#3a8b87 Color Usage In CSS

 body {
    color: #3a8b87;
    }
 p {
    color: rgb(58, 139, 135);
    }
 header {
    border-bottom:1px solid #3a8b87;
    }
Recent Random Colors