Random Color Generator

#0b3780 Color

Color Codes
Hex Code #0b3780
RGB Code rgb(11, 55, 128)
HSL Code hsl(217, 84%, 27%)

#0b3780 Color Syntax

rgb()

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

 main {
    background-color: rgb(11, 55, 128);
   }

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(217, 84%, 27%);
  }

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 #0b3780

RGB Code Hex Code Preview
rgb(11, 55, 128, 10%) #0b37801a  
rgb(11, 55, 128, 20%) #0b378033  
rgb(11, 55, 128, 40%) #0b37804C  
rgb(11, 55, 128, 60%) #0b378099  
rgb(11, 55, 128, 80%) #0b3780CC  
rgb(11, 55, 128, 100%) #0b3780FF  

Saturated and desaturated colors of #0b3780

HSL Code Preview
hsl(217, 10%, 27%)  
hsl(217, 20%, 27%)  
hsl(217, 40%, 27%)  
hsl(217, 60%, 27%)  
hsl(217, 80%, 27%)  
hsl(217, 100%, 27%)  

#0b3780 Color Usage In CSS

 body {
    color: #0b3780;
    }
 p {
    color: rgb(11, 55, 128);
    }
 header {
    border-bottom:1px solid #0b3780;
    }
Recent Random Colors