Random Color Generator

#45455b Color

Color Codes
Hex Code #45455b
RGB Code rgb(69, 69, 91)
HSL Code hsl(240, 14%, 31%)

#45455b Color Syntax

rgb()

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

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

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(240, 14%, 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 #45455b

RGB Code Hex Code Preview
rgb(69, 69, 91, 10%) #45455b1a  
rgb(69, 69, 91, 20%) #45455b33  
rgb(69, 69, 91, 40%) #45455b4C  
rgb(69, 69, 91, 60%) #45455b99  
rgb(69, 69, 91, 80%) #45455bCC  
rgb(69, 69, 91, 100%) #45455bFF  

Saturated and desaturated colors of #45455b

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

#45455b Color Usage In CSS

 body {
    color: #45455b;
    }
 p {
    color: rgb(69, 69, 91);
    }
 header {
    border-bottom:1px solid #45455b;
    }
Recent Random Colors