Random Color Generator

#0a3caf Color

Color Codes
Hex Code #0a3caf
RGB Code rgb(10, 60, 175)
HSL Code hsl(222, 89%, 36%)

#0a3caf Color Syntax

rgb()

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

 main {
    background-color: rgb(10, 60, 175);
   }

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(222, 89%, 36%);
  }

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

RGB Code Hex Code Preview
rgb(10, 60, 175, 10%) #0a3caf1a  
rgb(10, 60, 175, 20%) #0a3caf33  
rgb(10, 60, 175, 40%) #0a3caf4C  
rgb(10, 60, 175, 60%) #0a3caf99  
rgb(10, 60, 175, 80%) #0a3cafCC  
rgb(10, 60, 175, 100%) #0a3cafFF  

Saturated and desaturated colors of #0a3caf

HSL Code Preview
hsl(222, 10%, 36%)  
hsl(222, 20%, 36%)  
hsl(222, 40%, 36%)  
hsl(222, 60%, 36%)  
hsl(222, 80%, 36%)  
hsl(222, 100%, 36%)  

#0a3caf Color Usage In CSS

 body {
    color: #0a3caf;
    }
 p {
    color: rgb(10, 60, 175);
    }
 header {
    border-bottom:1px solid #0a3caf;
    }
Recent Random Colors