Random Color Generator

#315955 Color

Color Codes
Hex Code #315955
RGB Code rgb(49, 89, 85)
HSL Code hsl(174, 29%, 27%)

#315955 Color Syntax

rgb()

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

 main {
    background-color: rgb(49, 89, 85);
   }

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(174, 29%, 27%);
  }

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 #315955

RGB Code Hex Code Preview
rgb(49, 89, 85, 10%) #3159551a  
rgb(49, 89, 85, 20%) #31595533  
rgb(49, 89, 85, 40%) #3159554C  
rgb(49, 89, 85, 60%) #31595599  
rgb(49, 89, 85, 80%) #315955CC  
rgb(49, 89, 85, 100%) #315955FF  

Saturated and desaturated colors of #315955

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

#315955 Color Usage In CSS

 body {
    color: #315955;
    }
 p {
    color: rgb(49, 89, 85);
    }
 header {
    border-bottom:1px solid #315955;
    }
Recent Random Colors