Random Color Generator

#345b88 Color

Color Codes
Hex Code #345b88
RGB Code rgb(52, 91, 136)
HSL Code hsl(212, 45%, 37%)

#345b88 Color Syntax

rgb()

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

 main {
    background-color: rgb(52, 91, 136);
   }

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(212, 45%, 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 #345b88

RGB Code Hex Code Preview
rgb(52, 91, 136, 10%) #345b881a  
rgb(52, 91, 136, 20%) #345b8833  
rgb(52, 91, 136, 40%) #345b884C  
rgb(52, 91, 136, 60%) #345b8899  
rgb(52, 91, 136, 80%) #345b88CC  
rgb(52, 91, 136, 100%) #345b88FF  

Saturated and desaturated colors of #345b88

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

#345b88 Color Usage In CSS

 body {
    color: #345b88;
    }
 p {
    color: rgb(52, 91, 136);
    }
 header {
    border-bottom:1px solid #345b88;
    }
Recent Random Colors