Random Color Generator

#3a726f Color

Color Codes
Hex Code #3a726f
RGB Code rgb(58, 114, 111)
HSL Code hsl(177, 33%, 34%)

#3a726f Color Syntax

rgb()

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

 main {
    background-color: rgb(58, 114, 111);
   }

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, 33%, 34%);
  }

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

RGB Code Hex Code Preview
rgb(58, 114, 111, 10%) #3a726f1a  
rgb(58, 114, 111, 20%) #3a726f33  
rgb(58, 114, 111, 40%) #3a726f4C  
rgb(58, 114, 111, 60%) #3a726f99  
rgb(58, 114, 111, 80%) #3a726fCC  
rgb(58, 114, 111, 100%) #3a726fFF  

Saturated and desaturated colors of #3a726f

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

#3a726f Color Usage In CSS

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