Random Color Generator

#0339d5 Color

Color Codes
Hex Code #0339d5
RGB Code rgb(03, 57, 213)
HSL Code hsl(225, 97%, 42%)

#0339d5 Color Syntax

rgb()

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

 main {
    background-color: rgb(03, 57, 213);
   }

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(225, 97%, 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 #0339d5

RGB Code Hex Code Preview
rgb(03, 57, 213, 10%) #0339d51a  
rgb(03, 57, 213, 20%) #0339d533  
rgb(03, 57, 213, 40%) #0339d54C  
rgb(03, 57, 213, 60%) #0339d599  
rgb(03, 57, 213, 80%) #0339d5CC  
rgb(03, 57, 213, 100%) #0339d5FF  

Saturated and desaturated colors of #0339d5

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

#0339d5 Color Usage In CSS

 body {
    color: #0339d5;
    }
 p {
    color: rgb(03, 57, 213);
    }
 header {
    border-bottom:1px solid #0339d5;
    }
Recent Random Colors