#38746b Color
Color Codes | |
---|---|
Hex Code | #38746b |
RGB Code | rgb(56, 116, 107) |
HSL Code | hsl(171, 35%, 34%) |
#38746b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(56, 116, 107); }
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(171, 35%, 34%); }
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 #38746b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(56, 116, 107, 10%) | #38746b1a | |
rgb(56, 116, 107, 20%) | #38746b33 | |
rgb(56, 116, 107, 40%) | #38746b4C | |
rgb(56, 116, 107, 60%) | #38746b99 | |
rgb(56, 116, 107, 80%) | #38746bCC | |
rgb(56, 116, 107, 100%) | #38746bFF |
Saturated and desaturated colors of #38746b
HSL Code | Preview |
---|---|
hsl(171, 10%, 34%) | |
hsl(171, 20%, 34%) | |
hsl(171, 40%, 34%) | |
hsl(171, 60%, 34%) | |
hsl(171, 80%, 34%) | |
hsl(171, 100%, 34%) |
#38746b Color Usage In CSS
body { color: #38746b; } p { color: rgb(56, 116, 107); } header { border-bottom:1px solid #38746b; }