Random Color Generator

#40a3b0 Color

Color Codes
Hex Code #40a3b0
RGB Code rgb(64, 163, 176)
HSL Code hsl(187, 47%, 47%)

#40a3b0 Color Syntax

rgb()

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

 main {
    background-color: rgb(64, 163, 176);
   }

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(187, 47%, 47%);
  }

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 #40a3b0

RGB Code Hex Code Preview
rgb(64, 163, 176, 10%) #40a3b01a  
rgb(64, 163, 176, 20%) #40a3b033  
rgb(64, 163, 176, 40%) #40a3b04C  
rgb(64, 163, 176, 60%) #40a3b099  
rgb(64, 163, 176, 80%) #40a3b0CC  
rgb(64, 163, 176, 100%) #40a3b0FF  

Saturated and desaturated colors of #40a3b0

HSL Code Preview
hsl(187, 10%, 47%)  
hsl(187, 20%, 47%)  
hsl(187, 40%, 47%)  
hsl(187, 60%, 47%)  
hsl(187, 80%, 47%)  
hsl(187, 100%, 47%)  

#40a3b0 Color Usage In CSS

 body {
    color: #40a3b0;
    }
 p {
    color: rgb(64, 163, 176);
    }
 header {
    border-bottom:1px solid #40a3b0;
    }
Recent Random Colors