Random Color Generator

#060b80 Color

Color Codes
Hex Code #060b80
RGB Code rgb(06, 11, 128)
HSL Code hsl(238, 91%, 26%)

#060b80 Color Syntax

rgb()

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

 main {
    background-color: rgb(06, 11, 128);
   }

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(238, 91%, 26%);
  }

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 #060b80

RGB Code Hex Code Preview
rgb(06, 11, 128, 10%) #060b801a  
rgb(06, 11, 128, 20%) #060b8033  
rgb(06, 11, 128, 40%) #060b804C  
rgb(06, 11, 128, 60%) #060b8099  
rgb(06, 11, 128, 80%) #060b80CC  
rgb(06, 11, 128, 100%) #060b80FF  

Saturated and desaturated colors of #060b80

HSL Code Preview
hsl(238, 10%, 26%)  
hsl(238, 20%, 26%)  
hsl(238, 40%, 26%)  
hsl(238, 60%, 26%)  
hsl(238, 80%, 26%)  
hsl(238, 100%, 26%)  

#060b80 Color Usage In CSS

 body {
    color: #060b80;
    }
 p {
    color: rgb(06, 11, 128);
    }
 header {
    border-bottom:1px solid #060b80;
    }
Recent Random Colors