#386580 Color
Color Codes | |
---|---|
Hex Code | #386580 |
RGB Code | rgb(56, 101, 128) |
HSL Code | hsl(203, 39%, 36%) |
#386580 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(56, 101, 128); }
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(203, 39%, 36%); }
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 #386580
RGB Code | Hex Code | Preview |
---|---|---|
rgb(56, 101, 128, 10%) | #3865801a | |
rgb(56, 101, 128, 20%) | #38658033 | |
rgb(56, 101, 128, 40%) | #3865804C | |
rgb(56, 101, 128, 60%) | #38658099 | |
rgb(56, 101, 128, 80%) | #386580CC | |
rgb(56, 101, 128, 100%) | #386580FF |
Saturated and desaturated colors of #386580
HSL Code | Preview |
---|---|
hsl(203, 10%, 36%) | |
hsl(203, 20%, 36%) | |
hsl(203, 40%, 36%) | |
hsl(203, 60%, 36%) | |
hsl(203, 80%, 36%) | |
hsl(203, 100%, 36%) |
#386580 Color Usage In CSS
body { color: #386580; } p { color: rgb(56, 101, 128); } header { border-bottom:1px solid #386580; }