Random Color Generator

#031cf9 Color

Color Codes
Hex Code #031cf9
RGB Code rgb(03, 28, 249)
HSL Code hsl(234, 98%, 49%)

#031cf9 Color Syntax

rgb()

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

 main {
    background-color: rgb(03, 28, 249);
   }

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(234, 98%, 49%);
  }

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 #031cf9

RGB Code Hex Code Preview
rgb(03, 28, 249, 10%) #031cf91a  
rgb(03, 28, 249, 20%) #031cf933  
rgb(03, 28, 249, 40%) #031cf94C  
rgb(03, 28, 249, 60%) #031cf999  
rgb(03, 28, 249, 80%) #031cf9CC  
rgb(03, 28, 249, 100%) #031cf9FF  

Saturated and desaturated colors of #031cf9

HSL Code Preview
hsl(234, 10%, 49%)  
hsl(234, 20%, 49%)  
hsl(234, 40%, 49%)  
hsl(234, 60%, 49%)  
hsl(234, 80%, 49%)  
hsl(234, 100%, 49%)  

#031cf9 Color Usage In CSS

 body {
    color: #031cf9;
    }
 p {
    color: rgb(03, 28, 249);
    }
 header {
    border-bottom:1px solid #031cf9;
    }
Recent Random Colors