Random Color Generator

#962df0 Color

Color Codes
Hex Code #962df0
RGB Code rgb(150, 45, 240)
HSL Code hsl(272, 87%, 56%)

#962df0 Color Syntax

rgb()

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

 main {
    background-color: rgb(150, 45, 240);
   }

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(272, 87%, 56%);
  }

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 #962df0

RGB Code Hex Code Preview
rgb(150, 45, 240, 10%) #962df01a  
rgb(150, 45, 240, 20%) #962df033  
rgb(150, 45, 240, 40%) #962df04C  
rgb(150, 45, 240, 60%) #962df099  
rgb(150, 45, 240, 80%) #962df0CC  
rgb(150, 45, 240, 100%) #962df0FF  

Saturated and desaturated colors of #962df0

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

#962df0 Color Usage In CSS

 body {
    color: #962df0;
    }
 p {
    color: rgb(150, 45, 240);
    }
 header {
    border-bottom:1px solid #962df0;
    }
Recent Random Colors