Random Color Generator

#0d228b Color

Color Codes
Hex Code #0d228b
RGB Code rgb(13, 34, 139)
HSL Code hsl(230, 83%, 30%)

#0d228b Color Syntax

rgb()

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

 main {
    background-color: rgb(13, 34, 139);
   }

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, 83%, 30%);
  }

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

RGB Code Hex Code Preview
rgb(13, 34, 139, 10%) #0d228b1a  
rgb(13, 34, 139, 20%) #0d228b33  
rgb(13, 34, 139, 40%) #0d228b4C  
rgb(13, 34, 139, 60%) #0d228b99  
rgb(13, 34, 139, 80%) #0d228bCC  
rgb(13, 34, 139, 100%) #0d228bFF  

Saturated and desaturated colors of #0d228b

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

#0d228b Color Usage In CSS

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