Random Color Generator

#38507a Color

Color Codes
Hex Code #38507a
RGB Code rgb(56, 80, 122)
HSL Code hsl(218, 37%, 35%)

#38507a Color Syntax

rgb()

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

 main {
    background-color: rgb(56, 80, 122);
   }

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(218, 37%, 35%);
  }

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 #38507a

RGB Code Hex Code Preview
rgb(56, 80, 122, 10%) #38507a1a  
rgb(56, 80, 122, 20%) #38507a33  
rgb(56, 80, 122, 40%) #38507a4C  
rgb(56, 80, 122, 60%) #38507a99  
rgb(56, 80, 122, 80%) #38507aCC  
rgb(56, 80, 122, 100%) #38507aFF  

Saturated and desaturated colors of #38507a

HSL Code Preview
hsl(218, 10%, 35%)  
hsl(218, 20%, 35%)  
hsl(218, 40%, 35%)  
hsl(218, 60%, 35%)  
hsl(218, 80%, 35%)  
hsl(218, 100%, 35%)  

#38507a Color Usage In CSS

 body {
    color: #38507a;
    }
 p {
    color: rgb(56, 80, 122);
    }
 header {
    border-bottom:1px solid #38507a;
    }
Recent Random Colors