Random Color Generator

#317497 Color

Color Codes
Hex Code #317497
RGB Code rgb(49, 116, 151)
HSL Code hsl(201, 51%, 39%)

#317497 Color Syntax

rgb()

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

 main {
    background-color: rgb(49, 116, 151);
   }

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(201, 51%, 39%);
  }

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

RGB Code Hex Code Preview
rgb(49, 116, 151, 10%) #3174971a  
rgb(49, 116, 151, 20%) #31749733  
rgb(49, 116, 151, 40%) #3174974C  
rgb(49, 116, 151, 60%) #31749799  
rgb(49, 116, 151, 80%) #317497CC  
rgb(49, 116, 151, 100%) #317497FF  

Saturated and desaturated colors of #317497

HSL Code Preview
hsl(201, 10%, 39%)  
hsl(201, 20%, 39%)  
hsl(201, 40%, 39%)  
hsl(201, 60%, 39%)  
hsl(201, 80%, 39%)  
hsl(201, 100%, 39%)  

#317497 Color Usage In CSS

 body {
    color: #317497;
    }
 p {
    color: rgb(49, 116, 151);
    }
 header {
    border-bottom:1px solid #317497;
    }
Recent Random Colors