Random Color Generator

#8266ce Color

Color Codes
Hex Code #8266ce
RGB Code rgb(130, 102, 206)
HSL Code hsl(256, 51%, 60%)

#8266ce Color Syntax

rgb()

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

 main {
    background-color: rgb(130, 102, 206);
   }

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(256, 51%, 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 #8266ce

RGB Code Hex Code Preview
rgb(130, 102, 206, 10%) #8266ce1a  
rgb(130, 102, 206, 20%) #8266ce33  
rgb(130, 102, 206, 40%) #8266ce4C  
rgb(130, 102, 206, 60%) #8266ce99  
rgb(130, 102, 206, 80%) #8266ceCC  
rgb(130, 102, 206, 100%) #8266ceFF  

Saturated and desaturated colors of #8266ce

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

#8266ce Color Usage In CSS

 body {
    color: #8266ce;
    }
 p {
    color: rgb(130, 102, 206);
    }
 header {
    border-bottom:1px solid #8266ce;
    }
Recent Random Colors