Random Color Generator

#0a4273 Color

Color Codes
Hex Code #0a4273
RGB Code rgb(10, 66, 115)
HSL Code hsl(208, 84%, 25%)

#0a4273 Color Syntax

rgb()

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

 main {
    background-color: rgb(10, 66, 115);
   }

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(208, 84%, 25%);
  }

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

RGB Code Hex Code Preview
rgb(10, 66, 115, 10%) #0a42731a  
rgb(10, 66, 115, 20%) #0a427333  
rgb(10, 66, 115, 40%) #0a42734C  
rgb(10, 66, 115, 60%) #0a427399  
rgb(10, 66, 115, 80%) #0a4273CC  
rgb(10, 66, 115, 100%) #0a4273FF  

Saturated and desaturated colors of #0a4273

HSL Code Preview
hsl(208, 10%, 25%)  
hsl(208, 20%, 25%)  
hsl(208, 40%, 25%)  
hsl(208, 60%, 25%)  
hsl(208, 80%, 25%)  
hsl(208, 100%, 25%)  

#0a4273 Color Usage In CSS

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