Random Color Generator

#48529e Color

Color Codes
Hex Code #48529e
RGB Code rgb(72, 82, 158)
HSL Code hsl(233, 37%, 45%)

#48529e Color Syntax

rgb()

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

 main {
    background-color: rgb(72, 82, 158);
   }

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(233, 37%, 45%);
  }

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 #48529e

RGB Code Hex Code Preview
rgb(72, 82, 158, 10%) #48529e1a  
rgb(72, 82, 158, 20%) #48529e33  
rgb(72, 82, 158, 40%) #48529e4C  
rgb(72, 82, 158, 60%) #48529e99  
rgb(72, 82, 158, 80%) #48529eCC  
rgb(72, 82, 158, 100%) #48529eFF  

Saturated and desaturated colors of #48529e

HSL Code Preview
hsl(233, 10%, 45%)  
hsl(233, 20%, 45%)  
hsl(233, 40%, 45%)  
hsl(233, 60%, 45%)  
hsl(233, 80%, 45%)  
hsl(233, 100%, 45%)  

#48529e Color Usage In CSS

 body {
    color: #48529e;
    }
 p {
    color: rgb(72, 82, 158);
    }
 header {
    border-bottom:1px solid #48529e;
    }
Recent Random Colors