Random Color Generator

#838cb9 Color

Color Codes
Hex Code #838cb9
RGB Code rgb(131, 140, 185)
HSL Code hsl(230, 28%, 62%)

#838cb9 Color Syntax

rgb()

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

 main {
    background-color: rgb(131, 140, 185);
   }

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(230, 28%, 62%);
  }

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 #838cb9

RGB Code Hex Code Preview
rgb(131, 140, 185, 10%) #838cb91a  
rgb(131, 140, 185, 20%) #838cb933  
rgb(131, 140, 185, 40%) #838cb94C  
rgb(131, 140, 185, 60%) #838cb999  
rgb(131, 140, 185, 80%) #838cb9CC  
rgb(131, 140, 185, 100%) #838cb9FF  

Saturated and desaturated colors of #838cb9

HSL Code Preview
hsl(230, 10%, 62%)  
hsl(230, 20%, 62%)  
hsl(230, 40%, 62%)  
hsl(230, 60%, 62%)  
hsl(230, 80%, 62%)  
hsl(230, 100%, 62%)  

#838cb9 Color Usage In CSS

 body {
    color: #838cb9;
    }
 p {
    color: rgb(131, 140, 185);
    }
 header {
    border-bottom:1px solid #838cb9;
    }
Recent Random Colors