Random Color Generator

#6261d1 Color

Color Codes
Hex Code #6261d1
RGB Code rgb(98, 97, 209)
HSL Code hsl(241, 55%, 60%)

#6261d1 Color Syntax

rgb()

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

 main {
    background-color: rgb(98, 97, 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(241, 55%, 60%);
  }

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 #6261d1

RGB Code Hex Code Preview
rgb(98, 97, 209, 10%) #6261d11a  
rgb(98, 97, 209, 20%) #6261d133  
rgb(98, 97, 209, 40%) #6261d14C  
rgb(98, 97, 209, 60%) #6261d199  
rgb(98, 97, 209, 80%) #6261d1CC  
rgb(98, 97, 209, 100%) #6261d1FF  

Saturated and desaturated colors of #6261d1

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

#6261d1 Color Usage In CSS

 body {
    color: #6261d1;
    }
 p {
    color: rgb(98, 97, 209);
    }
 header {
    border-bottom:1px solid #6261d1;
    }
Recent Random Colors