Random Color Generator

#956cf3 Color

Color Codes
Hex Code #956cf3
RGB Code rgb(149, 108, 243)
HSL Code hsl(258, 85%, 69%)

#956cf3 Color Syntax

rgb()

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

 main {
    background-color: rgb(149, 108, 243);
   }

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(258, 85%, 69%);
  }

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 #956cf3

RGB Code Hex Code Preview
rgb(149, 108, 243, 10%) #956cf31a  
rgb(149, 108, 243, 20%) #956cf333  
rgb(149, 108, 243, 40%) #956cf34C  
rgb(149, 108, 243, 60%) #956cf399  
rgb(149, 108, 243, 80%) #956cf3CC  
rgb(149, 108, 243, 100%) #956cf3FF  

Saturated and desaturated colors of #956cf3

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

#956cf3 Color Usage In CSS

 body {
    color: #956cf3;
    }
 p {
    color: rgb(149, 108, 243);
    }
 header {
    border-bottom:1px solid #956cf3;
    }
Recent Random Colors