Random Color Generator

#0946d0 Color

Color Codes
Hex Code #0946d0
RGB Code rgb(09, 70, 208)
HSL Code hsl(222, 92%, 43%)

#0946d0 Color Syntax

rgb()

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

 main {
    background-color: rgb(09, 70, 208);
   }

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(222, 92%, 43%);
  }

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 #0946d0

RGB Code Hex Code Preview
rgb(09, 70, 208, 10%) #0946d01a  
rgb(09, 70, 208, 20%) #0946d033  
rgb(09, 70, 208, 40%) #0946d04C  
rgb(09, 70, 208, 60%) #0946d099  
rgb(09, 70, 208, 80%) #0946d0CC  
rgb(09, 70, 208, 100%) #0946d0FF  

Saturated and desaturated colors of #0946d0

HSL Code Preview
hsl(222, 10%, 43%)  
hsl(222, 20%, 43%)  
hsl(222, 40%, 43%)  
hsl(222, 60%, 43%)  
hsl(222, 80%, 43%)  
hsl(222, 100%, 43%)  

#0946d0 Color Usage In CSS

 body {
    color: #0946d0;
    }
 p {
    color: rgb(09, 70, 208);
    }
 header {
    border-bottom:1px solid #0946d0;
    }
Recent Random Colors