Random Color Generator

#076f98 Color

Color Codes
Hex Code #076f98
RGB Code rgb(07, 111, 152)
HSL Code hsl(197, 91%, 31%)

#076f98 Color Syntax

rgb()

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

 main {
    background-color: rgb(07, 111, 152);
   }

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(197, 91%, 31%);
  }

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 #076f98

RGB Code Hex Code Preview
rgb(07, 111, 152, 10%) #076f981a  
rgb(07, 111, 152, 20%) #076f9833  
rgb(07, 111, 152, 40%) #076f984C  
rgb(07, 111, 152, 60%) #076f9899  
rgb(07, 111, 152, 80%) #076f98CC  
rgb(07, 111, 152, 100%) #076f98FF  

Saturated and desaturated colors of #076f98

HSL Code Preview
hsl(197, 10%, 31%)  
hsl(197, 20%, 31%)  
hsl(197, 40%, 31%)  
hsl(197, 60%, 31%)  
hsl(197, 80%, 31%)  
hsl(197, 100%, 31%)  

#076f98 Color Usage In CSS

 body {
    color: #076f98;
    }
 p {
    color: rgb(07, 111, 152);
    }
 header {
    border-bottom:1px solid #076f98;
    }
Recent Random Colors