Random Color Generator

#0b2284 Color

Color Codes
Hex Code #0b2284
RGB Code rgb(11, 34, 132)
HSL Code hsl(229, 85%, 28%)

#0b2284 Color Syntax

rgb()

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

 main {
    background-color: rgb(11, 34, 132);
   }

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(229, 85%, 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 #0b2284

RGB Code Hex Code Preview
rgb(11, 34, 132, 10%) #0b22841a  
rgb(11, 34, 132, 20%) #0b228433  
rgb(11, 34, 132, 40%) #0b22844C  
rgb(11, 34, 132, 60%) #0b228499  
rgb(11, 34, 132, 80%) #0b2284CC  
rgb(11, 34, 132, 100%) #0b2284FF  

Saturated and desaturated colors of #0b2284

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

#0b2284 Color Usage In CSS

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