Random Color Generator

#0a4268 Color

Color Codes
Hex Code #0a4268
RGB Code rgb(10, 66, 104)
HSL Code hsl(204, 82%, 22%)

#0a4268 Color Syntax

rgb()

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

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

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(204, 82%, 22%);
  }

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

RGB Code Hex Code Preview
rgb(10, 66, 104, 10%) #0a42681a  
rgb(10, 66, 104, 20%) #0a426833  
rgb(10, 66, 104, 40%) #0a42684C  
rgb(10, 66, 104, 60%) #0a426899  
rgb(10, 66, 104, 80%) #0a4268CC  
rgb(10, 66, 104, 100%) #0a4268FF  

Saturated and desaturated colors of #0a4268

HSL Code Preview
hsl(204, 10%, 22%)  
hsl(204, 20%, 22%)  
hsl(204, 40%, 22%)  
hsl(204, 60%, 22%)  
hsl(204, 80%, 22%)  
hsl(204, 100%, 22%)  

#0a4268 Color Usage In CSS

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