Random Color Generator

#314cd7 Color

Color Codes
Hex Code #314cd7
RGB Code rgb(49, 76, 215)
HSL Code hsl(230, 67%, 52%)

#314cd7 Color Syntax

rgb()

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

 main {
    background-color: rgb(49, 76, 215);
   }

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(230, 67%, 52%);
  }

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 #314cd7

RGB Code Hex Code Preview
rgb(49, 76, 215, 10%) #314cd71a  
rgb(49, 76, 215, 20%) #314cd733  
rgb(49, 76, 215, 40%) #314cd74C  
rgb(49, 76, 215, 60%) #314cd799  
rgb(49, 76, 215, 80%) #314cd7CC  
rgb(49, 76, 215, 100%) #314cd7FF  

Saturated and desaturated colors of #314cd7

HSL Code Preview
hsl(230, 10%, 52%)  
hsl(230, 20%, 52%)  
hsl(230, 40%, 52%)  
hsl(230, 60%, 52%)  
hsl(230, 80%, 52%)  
hsl(230, 100%, 52%)  

#314cd7 Color Usage In CSS

 body {
    color: #314cd7;
    }
 p {
    color: rgb(49, 76, 215);
    }
 header {
    border-bottom:1px solid #314cd7;
    }
Recent Random Colors