Random Color Generator

#0fa5f1 Color

Color Codes
Hex Code #0fa5f1
RGB Code rgb(15, 165, 241)
HSL Code hsl(200, 89%, 50%)

#0fa5f1 Color Syntax

rgb()

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

 main {
    background-color: rgb(15, 165, 241);
   }

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(200, 89%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(15, 165, 241, 10%) #0fa5f11a  
rgb(15, 165, 241, 20%) #0fa5f133  
rgb(15, 165, 241, 40%) #0fa5f14C  
rgb(15, 165, 241, 60%) #0fa5f199  
rgb(15, 165, 241, 80%) #0fa5f1CC  
rgb(15, 165, 241, 100%) #0fa5f1FF  

Saturated and desaturated colors of #0fa5f1

HSL Code Preview
hsl(200, 10%, 50%)  
hsl(200, 20%, 50%)  
hsl(200, 40%, 50%)  
hsl(200, 60%, 50%)  
hsl(200, 80%, 50%)  
hsl(200, 100%, 50%)  

#0fa5f1 Color Usage In CSS

 body {
    color: #0fa5f1;
    }
 p {
    color: rgb(15, 165, 241);
    }
 header {
    border-bottom:1px solid #0fa5f1;
    }
Recent Random Colors