#2597cf Color
Color Codes | |
---|---|
Hex Code | #2597cf |
RGB Code | rgb(37, 151, 207) |
HSL Code | hsl(200, 70%, 48%) |
#2597cf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(37, 151, 207); }
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(200, 70%, 48%); }
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 #2597cf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(37, 151, 207, 10%) | #2597cf1a | |
rgb(37, 151, 207, 20%) | #2597cf33 | |
rgb(37, 151, 207, 40%) | #2597cf4C | |
rgb(37, 151, 207, 60%) | #2597cf99 | |
rgb(37, 151, 207, 80%) | #2597cfCC | |
rgb(37, 151, 207, 100%) | #2597cfFF |
Saturated and desaturated colors of #2597cf
HSL Code | Preview |
---|---|
hsl(200, 10%, 48%) | |
hsl(200, 20%, 48%) | |
hsl(200, 40%, 48%) | |
hsl(200, 60%, 48%) | |
hsl(200, 80%, 48%) | |
hsl(200, 100%, 48%) |
#2597cf Color Usage In CSS
body { color: #2597cf; } p { color: rgb(37, 151, 207); } header { border-bottom:1px solid #2597cf; }