Random Color Generator

#0d28ea Color

Color Codes
Hex Code #0d28ea
RGB Code rgb(13, 40, 234)
HSL Code hsl(233, 89%, 48%)

#0d28ea Color Syntax

rgb()

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

 main {
    background-color: rgb(13, 40, 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(233, 89%, 48%);
  }

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

RGB Code Hex Code Preview
rgb(13, 40, 234, 10%) #0d28ea1a  
rgb(13, 40, 234, 20%) #0d28ea33  
rgb(13, 40, 234, 40%) #0d28ea4C  
rgb(13, 40, 234, 60%) #0d28ea99  
rgb(13, 40, 234, 80%) #0d28eaCC  
rgb(13, 40, 234, 100%) #0d28eaFF  

Saturated and desaturated colors of #0d28ea

HSL Code Preview
hsl(233, 10%, 48%)  
hsl(233, 20%, 48%)  
hsl(233, 40%, 48%)  
hsl(233, 60%, 48%)  
hsl(233, 80%, 48%)  
hsl(233, 100%, 48%)  

#0d28ea Color Usage In CSS

 body {
    color: #0d28ea;
    }
 p {
    color: rgb(13, 40, 234);
    }
 header {
    border-bottom:1px solid #0d28ea;
    }
Recent Random Colors