Random Color Generator

#318b4f Color

Color Codes
Hex Code #318b4f
RGB Code rgb(49, 139, 79)
HSL Code hsl(140, 48%, 37%)

#318b4f Color Syntax

rgb()

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

 main {
    background-color: rgb(49, 139, 79);
   }

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(140, 48%, 37%);
  }

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 #318b4f

RGB Code Hex Code Preview
rgb(49, 139, 79, 10%) #318b4f1a  
rgb(49, 139, 79, 20%) #318b4f33  
rgb(49, 139, 79, 40%) #318b4f4C  
rgb(49, 139, 79, 60%) #318b4f99  
rgb(49, 139, 79, 80%) #318b4fCC  
rgb(49, 139, 79, 100%) #318b4fFF  

Saturated and desaturated colors of #318b4f

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

#318b4f Color Usage In CSS

 body {
    color: #318b4f;
    }
 p {
    color: rgb(49, 139, 79);
    }
 header {
    border-bottom:1px solid #318b4f;
    }
Recent Random Colors