Random Color Generator

#0612ea Color

Color Codes
Hex Code #0612ea
RGB Code rgb(06, 18, 234)
HSL Code hsl(237, 95%, 47%)

#0612ea Color Syntax

rgb()

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

 main {
    background-color: rgb(06, 18, 234);
   }

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(237, 95%, 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 #0612ea

RGB Code Hex Code Preview
rgb(06, 18, 234, 10%) #0612ea1a  
rgb(06, 18, 234, 20%) #0612ea33  
rgb(06, 18, 234, 40%) #0612ea4C  
rgb(06, 18, 234, 60%) #0612ea99  
rgb(06, 18, 234, 80%) #0612eaCC  
rgb(06, 18, 234, 100%) #0612eaFF  

Saturated and desaturated colors of #0612ea

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

#0612ea Color Usage In CSS

 body {
    color: #0612ea;
    }
 p {
    color: rgb(06, 18, 234);
    }
 header {
    border-bottom:1px solid #0612ea;
    }
Recent Random Colors