Random Color Generator

#7c8bd1 Color

Color Codes
Hex Code #7c8bd1
RGB Code rgb(124, 139, 209)
HSL Code hsl(229, 48%, 65%)

#7c8bd1 Color Syntax

rgb()

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

 main {
    background-color: rgb(124, 139, 209);
   }

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(229, 48%, 65%);
  }

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 #7c8bd1

RGB Code Hex Code Preview
rgb(124, 139, 209, 10%) #7c8bd11a  
rgb(124, 139, 209, 20%) #7c8bd133  
rgb(124, 139, 209, 40%) #7c8bd14C  
rgb(124, 139, 209, 60%) #7c8bd199  
rgb(124, 139, 209, 80%) #7c8bd1CC  
rgb(124, 139, 209, 100%) #7c8bd1FF  

Saturated and desaturated colors of #7c8bd1

HSL Code Preview
hsl(229, 10%, 65%)  
hsl(229, 20%, 65%)  
hsl(229, 40%, 65%)  
hsl(229, 60%, 65%)  
hsl(229, 80%, 65%)  
hsl(229, 100%, 65%)  

#7c8bd1 Color Usage In CSS

 body {
    color: #7c8bd1;
    }
 p {
    color: rgb(124, 139, 209);
    }
 header {
    border-bottom:1px solid #7c8bd1;
    }
Recent Random Colors