Random Color Generator

#0e31c9 Color

Color Codes
Hex Code #0e31c9
RGB Code rgb(14, 49, 201)
HSL Code hsl(229, 87%, 42%)

#0e31c9 Color Syntax

rgb()

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

 main {
    background-color: rgb(14, 49, 201);
   }

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(229, 87%, 42%);
  }

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 #0e31c9

RGB Code Hex Code Preview
rgb(14, 49, 201, 10%) #0e31c91a  
rgb(14, 49, 201, 20%) #0e31c933  
rgb(14, 49, 201, 40%) #0e31c94C  
rgb(14, 49, 201, 60%) #0e31c999  
rgb(14, 49, 201, 80%) #0e31c9CC  
rgb(14, 49, 201, 100%) #0e31c9FF  

Saturated and desaturated colors of #0e31c9

HSL Code Preview
hsl(229, 10%, 42%)  
hsl(229, 20%, 42%)  
hsl(229, 40%, 42%)  
hsl(229, 60%, 42%)  
hsl(229, 80%, 42%)  
hsl(229, 100%, 42%)  

#0e31c9 Color Usage In CSS

 body {
    color: #0e31c9;
    }
 p {
    color: rgb(14, 49, 201);
    }
 header {
    border-bottom:1px solid #0e31c9;
    }
Recent Random Colors