#398dc1 Color
Color Codes | |
---|---|
Hex Code | #398dc1 |
RGB Code | rgb(57, 141, 193) |
HSL Code | hsl(203, 54%, 49%) |
#398dc1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(57, 141, 193); }
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, 54%, 49%); }
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 #398dc1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(57, 141, 193, 10%) | #398dc11a | |
rgb(57, 141, 193, 20%) | #398dc133 | |
rgb(57, 141, 193, 40%) | #398dc14C | |
rgb(57, 141, 193, 60%) | #398dc199 | |
rgb(57, 141, 193, 80%) | #398dc1CC | |
rgb(57, 141, 193, 100%) | #398dc1FF |
Saturated and desaturated colors of #398dc1
HSL Code | Preview |
---|---|
hsl(203, 10%, 49%) | |
hsl(203, 20%, 49%) | |
hsl(203, 40%, 49%) | |
hsl(203, 60%, 49%) | |
hsl(203, 80%, 49%) | |
hsl(203, 100%, 49%) |
#398dc1 Color Usage In CSS
body { color: #398dc1; } p { color: rgb(57, 141, 193); } header { border-bottom:1px solid #398dc1; }