Random Color Generator

#081e87 Color

Color Codes
Hex Code #081e87
RGB Code rgb(08, 30, 135)
HSL Code hsl(230, 89%, 28%)

#081e87 Color Syntax

rgb()

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

 main {
    background-color: rgb(08, 30, 135);
   }

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(230, 89%, 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 #081e87

RGB Code Hex Code Preview
rgb(08, 30, 135, 10%) #081e871a  
rgb(08, 30, 135, 20%) #081e8733  
rgb(08, 30, 135, 40%) #081e874C  
rgb(08, 30, 135, 60%) #081e8799  
rgb(08, 30, 135, 80%) #081e87CC  
rgb(08, 30, 135, 100%) #081e87FF  

Saturated and desaturated colors of #081e87

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

#081e87 Color Usage In CSS

 body {
    color: #081e87;
    }
 p {
    color: rgb(08, 30, 135);
    }
 header {
    border-bottom:1px solid #081e87;
    }
Recent Random Colors