Random Color Generator

#335d6b Color

Color Codes
Hex Code #335d6b
RGB Code rgb(51, 93, 107)
HSL Code hsl(195, 35%, 31%)

#335d6b Color Syntax

rgb()

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

 main {
    background-color: rgb(51, 93, 107);
   }

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(195, 35%, 31%);
  }

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 #335d6b

RGB Code Hex Code Preview
rgb(51, 93, 107, 10%) #335d6b1a  
rgb(51, 93, 107, 20%) #335d6b33  
rgb(51, 93, 107, 40%) #335d6b4C  
rgb(51, 93, 107, 60%) #335d6b99  
rgb(51, 93, 107, 80%) #335d6bCC  
rgb(51, 93, 107, 100%) #335d6bFF  

Saturated and desaturated colors of #335d6b

HSL Code Preview
hsl(195, 10%, 31%)  
hsl(195, 20%, 31%)  
hsl(195, 40%, 31%)  
hsl(195, 60%, 31%)  
hsl(195, 80%, 31%)  
hsl(195, 100%, 31%)  

#335d6b Color Usage In CSS

 body {
    color: #335d6b;
    }
 p {
    color: rgb(51, 93, 107);
    }
 header {
    border-bottom:1px solid #335d6b;
    }
Recent Random Colors