Random Color Generator

#02275a Color

Color Codes
Hex Code #02275a
RGB Code rgb(02, 39, 90)
HSL Code hsl(215, 96%, 18%)

#02275a Color Syntax

rgb()

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

 main {
    background-color: rgb(02, 39, 90);
   }

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(215, 96%, 18%);
  }

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 #02275a

RGB Code Hex Code Preview
rgb(02, 39, 90, 10%) #02275a1a  
rgb(02, 39, 90, 20%) #02275a33  
rgb(02, 39, 90, 40%) #02275a4C  
rgb(02, 39, 90, 60%) #02275a99  
rgb(02, 39, 90, 80%) #02275aCC  
rgb(02, 39, 90, 100%) #02275aFF  

Saturated and desaturated colors of #02275a

HSL Code Preview
hsl(215, 10%, 18%)  
hsl(215, 20%, 18%)  
hsl(215, 40%, 18%)  
hsl(215, 60%, 18%)  
hsl(215, 80%, 18%)  
hsl(215, 100%, 18%)  

#02275a Color Usage In CSS

 body {
    color: #02275a;
    }
 p {
    color: rgb(02, 39, 90);
    }
 header {
    border-bottom:1px solid #02275a;
    }
Recent Random Colors