Random Color Generator

#625ca3 Color

Color Codes
Hex Code #625ca3
RGB Code rgb(98, 92, 163)
HSL Code hsl(245, 28%, 50%)

#625ca3 Color Syntax

rgb()

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

 main {
    background-color: rgb(98, 92, 163);
   }

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(245, 28%, 50%);
  }

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 #625ca3

RGB Code Hex Code Preview
rgb(98, 92, 163, 10%) #625ca31a  
rgb(98, 92, 163, 20%) #625ca333  
rgb(98, 92, 163, 40%) #625ca34C  
rgb(98, 92, 163, 60%) #625ca399  
rgb(98, 92, 163, 80%) #625ca3CC  
rgb(98, 92, 163, 100%) #625ca3FF  

Saturated and desaturated colors of #625ca3

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

#625ca3 Color Usage In CSS

 body {
    color: #625ca3;
    }
 p {
    color: rgb(98, 92, 163);
    }
 header {
    border-bottom:1px solid #625ca3;
    }
Recent Random Colors