Random Color Generator

#045589 Color

Color Codes
Hex Code #045589
RGB Code rgb(04, 85, 137)
HSL Code hsl(203, 94%, 28%)

#045589 Color Syntax

rgb()

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

 main {
    background-color: rgb(04, 85, 137);
   }

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(203, 94%, 28%);
  }

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

RGB Code Hex Code Preview
rgb(04, 85, 137, 10%) #0455891a  
rgb(04, 85, 137, 20%) #04558933  
rgb(04, 85, 137, 40%) #0455894C  
rgb(04, 85, 137, 60%) #04558999  
rgb(04, 85, 137, 80%) #045589CC  
rgb(04, 85, 137, 100%) #045589FF  

Saturated and desaturated colors of #045589

HSL Code Preview
hsl(203, 10%, 28%)  
hsl(203, 20%, 28%)  
hsl(203, 40%, 28%)  
hsl(203, 60%, 28%)  
hsl(203, 80%, 28%)  
hsl(203, 100%, 28%)  

#045589 Color Usage In CSS

 body {
    color: #045589;
    }
 p {
    color: rgb(04, 85, 137);
    }
 header {
    border-bottom:1px solid #045589;
    }
Recent Random Colors