Random Color Generator

#9d61d4 Color

Color Codes
Hex Code #9d61d4
RGB Code rgb(157, 97, 212)
HSL Code hsl(271, 57%, 61%)

#9d61d4 Color Syntax

rgb()

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

 main {
    background-color: rgb(157, 97, 212);
   }

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(271, 57%, 61%);
  }

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 #9d61d4

RGB Code Hex Code Preview
rgb(157, 97, 212, 10%) #9d61d41a  
rgb(157, 97, 212, 20%) #9d61d433  
rgb(157, 97, 212, 40%) #9d61d44C  
rgb(157, 97, 212, 60%) #9d61d499  
rgb(157, 97, 212, 80%) #9d61d4CC  
rgb(157, 97, 212, 100%) #9d61d4FF  

Saturated and desaturated colors of #9d61d4

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

#9d61d4 Color Usage In CSS

 body {
    color: #9d61d4;
    }
 p {
    color: rgb(157, 97, 212);
    }
 header {
    border-bottom:1px solid #9d61d4;
    }
Recent Random Colors