Random Color Generator

#153f98 Color

Color Codes
Hex Code #153f98
RGB Code rgb(21, 63, 152)
HSL Code hsl(221, 76%, 34%)

#153f98 Color Syntax

rgb()

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

 main {
    background-color: rgb(21, 63, 152);
   }

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(221, 76%, 34%);
  }

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 #153f98

RGB Code Hex Code Preview
rgb(21, 63, 152, 10%) #153f981a  
rgb(21, 63, 152, 20%) #153f9833  
rgb(21, 63, 152, 40%) #153f984C  
rgb(21, 63, 152, 60%) #153f9899  
rgb(21, 63, 152, 80%) #153f98CC  
rgb(21, 63, 152, 100%) #153f98FF  

Saturated and desaturated colors of #153f98

HSL Code Preview
hsl(221, 10%, 34%)  
hsl(221, 20%, 34%)  
hsl(221, 40%, 34%)  
hsl(221, 60%, 34%)  
hsl(221, 80%, 34%)  
hsl(221, 100%, 34%)  

#153f98 Color Usage In CSS

 body {
    color: #153f98;
    }
 p {
    color: rgb(21, 63, 152);
    }
 header {
    border-bottom:1px solid #153f98;
    }
Recent Random Colors