#246d9c Color
Color Codes | |
---|---|
Hex Code | #246d9c |
RGB Code | rgb(36, 109, 156) |
HSL Code | hsl(204, 63%, 38%) |
#246d9c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(36, 109, 156); }
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(204, 63%, 38%); }
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 #246d9c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(36, 109, 156, 10%) | #246d9c1a | |
rgb(36, 109, 156, 20%) | #246d9c33 | |
rgb(36, 109, 156, 40%) | #246d9c4C | |
rgb(36, 109, 156, 60%) | #246d9c99 | |
rgb(36, 109, 156, 80%) | #246d9cCC | |
rgb(36, 109, 156, 100%) | #246d9cFF |
Saturated and desaturated colors of #246d9c
HSL Code | Preview |
---|---|
hsl(204, 10%, 38%) | |
hsl(204, 20%, 38%) | |
hsl(204, 40%, 38%) | |
hsl(204, 60%, 38%) | |
hsl(204, 80%, 38%) | |
hsl(204, 100%, 38%) |
#246d9c Color Usage In CSS
body { color: #246d9c; } p { color: rgb(36, 109, 156); } header { border-bottom:1px solid #246d9c; }