Random Color Generator

#5491b8 Color

Color Codes
Hex Code #5491b8
RGB Code rgb(84, 145, 184)
HSL Code hsl(203, 41%, 53%)

#5491b8 Color Syntax

rgb()

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

 main {
    background-color: rgb(84, 145, 184);
   }

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, 41%, 53%);
  }

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 #5491b8

RGB Code Hex Code Preview
rgb(84, 145, 184, 10%) #5491b81a  
rgb(84, 145, 184, 20%) #5491b833  
rgb(84, 145, 184, 40%) #5491b84C  
rgb(84, 145, 184, 60%) #5491b899  
rgb(84, 145, 184, 80%) #5491b8CC  
rgb(84, 145, 184, 100%) #5491b8FF  

Saturated and desaturated colors of #5491b8

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

#5491b8 Color Usage In CSS

 body {
    color: #5491b8;
    }
 p {
    color: rgb(84, 145, 184);
    }
 header {
    border-bottom:1px solid #5491b8;
    }
Recent Random Colors