Random Color Generator

#631cd3 Color

Color Codes
Hex Code #631cd3
RGB Code rgb(99, 28, 211)
HSL Code hsl(263, 77%, 47%)

#631cd3 Color Syntax

rgb()

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

 main {
    background-color: rgb(99, 28, 211);
   }

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(263, 77%, 47%);
  }

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 #631cd3

RGB Code Hex Code Preview
rgb(99, 28, 211, 10%) #631cd31a  
rgb(99, 28, 211, 20%) #631cd333  
rgb(99, 28, 211, 40%) #631cd34C  
rgb(99, 28, 211, 60%) #631cd399  
rgb(99, 28, 211, 80%) #631cd3CC  
rgb(99, 28, 211, 100%) #631cd3FF  

Saturated and desaturated colors of #631cd3

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

#631cd3 Color Usage In CSS

 body {
    color: #631cd3;
    }
 p {
    color: rgb(99, 28, 211);
    }
 header {
    border-bottom:1px solid #631cd3;
    }
Recent Random Colors