Random Color Generator

#6781f2 Color

Color Codes
Hex Code #6781f2
RGB Code rgb(103, 129, 242)
HSL Code hsl(229, 84%, 68%)

#6781f2 Color Syntax

rgb()

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

 main {
    background-color: rgb(103, 129, 242);
   }

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, 84%, 68%);
  }

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 #6781f2

RGB Code Hex Code Preview
rgb(103, 129, 242, 10%) #6781f21a  
rgb(103, 129, 242, 20%) #6781f233  
rgb(103, 129, 242, 40%) #6781f24C  
rgb(103, 129, 242, 60%) #6781f299  
rgb(103, 129, 242, 80%) #6781f2CC  
rgb(103, 129, 242, 100%) #6781f2FF  

Saturated and desaturated colors of #6781f2

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

#6781f2 Color Usage In CSS

 body {
    color: #6781f2;
    }
 p {
    color: rgb(103, 129, 242);
    }
 header {
    border-bottom:1px solid #6781f2;
    }
Recent Random Colors