Random Color Generator

#6a8794 Color

Color Codes
Hex Code #6a8794
RGB Code rgb(106, 135, 148)
HSL Code hsl(199, 17%, 50%)

#6a8794 Color Syntax

rgb()

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

 main {
    background-color: rgb(106, 135, 148);
   }

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(199, 17%, 50%);
  }

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 #6a8794

RGB Code Hex Code Preview
rgb(106, 135, 148, 10%) #6a87941a  
rgb(106, 135, 148, 20%) #6a879433  
rgb(106, 135, 148, 40%) #6a87944C  
rgb(106, 135, 148, 60%) #6a879499  
rgb(106, 135, 148, 80%) #6a8794CC  
rgb(106, 135, 148, 100%) #6a8794FF  

Saturated and desaturated colors of #6a8794

HSL Code Preview
hsl(199, 10%, 50%)  
hsl(199, 20%, 50%)  
hsl(199, 40%, 50%)  
hsl(199, 60%, 50%)  
hsl(199, 80%, 50%)  
hsl(199, 100%, 50%)  

#6a8794 Color Usage In CSS

 body {
    color: #6a8794;
    }
 p {
    color: rgb(106, 135, 148);
    }
 header {
    border-bottom:1px solid #6a8794;
    }
Recent Random Colors