Random Color Generator

#0e0251 Color

Color Codes
Hex Code #0e0251
RGB Code rgb(14, 02, 81)
HSL Code hsl(249, 95%, 16%)

#0e0251 Color Syntax

rgb()

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

 main {
    background-color: rgb(14, 02, 81);
   }

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(249, 95%, 16%);
  }

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

RGB Code Hex Code Preview
rgb(14, 02, 81, 10%) #0e02511a  
rgb(14, 02, 81, 20%) #0e025133  
rgb(14, 02, 81, 40%) #0e02514C  
rgb(14, 02, 81, 60%) #0e025199  
rgb(14, 02, 81, 80%) #0e0251CC  
rgb(14, 02, 81, 100%) #0e0251FF  

Saturated and desaturated colors of #0e0251

HSL Code Preview
hsl(249, 10%, 16%)  
hsl(249, 20%, 16%)  
hsl(249, 40%, 16%)  
hsl(249, 60%, 16%)  
hsl(249, 80%, 16%)  
hsl(249, 100%, 16%)  

#0e0251 Color Usage In CSS

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