Random Color Generator

#2e6d7f Color

Color Codes
Hex Code #2e6d7f
RGB Code rgb(46, 109, 127)
HSL Code hsl(193, 47%, 34%)

#2e6d7f Color Syntax

rgb()

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

 main {
    background-color: rgb(46, 109, 127);
   }

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(193, 47%, 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 #2e6d7f

RGB Code Hex Code Preview
rgb(46, 109, 127, 10%) #2e6d7f1a  
rgb(46, 109, 127, 20%) #2e6d7f33  
rgb(46, 109, 127, 40%) #2e6d7f4C  
rgb(46, 109, 127, 60%) #2e6d7f99  
rgb(46, 109, 127, 80%) #2e6d7fCC  
rgb(46, 109, 127, 100%) #2e6d7fFF  

Saturated and desaturated colors of #2e6d7f

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

#2e6d7f Color Usage In CSS

 body {
    color: #2e6d7f;
    }
 p {
    color: rgb(46, 109, 127);
    }
 header {
    border-bottom:1px solid #2e6d7f;
    }
Recent Random Colors