#258bc2 Color
Color Codes | |
---|---|
Hex Code | #258bc2 |
RGB Code | rgb(37, 139, 194) |
HSL Code | hsl(201, 68%, 45%) |
#258bc2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(37, 139, 194); }
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(201, 68%, 45%); }
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 #258bc2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(37, 139, 194, 10%) | #258bc21a | |
rgb(37, 139, 194, 20%) | #258bc233 | |
rgb(37, 139, 194, 40%) | #258bc24C | |
rgb(37, 139, 194, 60%) | #258bc299 | |
rgb(37, 139, 194, 80%) | #258bc2CC | |
rgb(37, 139, 194, 100%) | #258bc2FF |
Saturated and desaturated colors of #258bc2
HSL Code | Preview |
---|---|
hsl(201, 10%, 45%) | |
hsl(201, 20%, 45%) | |
hsl(201, 40%, 45%) | |
hsl(201, 60%, 45%) | |
hsl(201, 80%, 45%) | |
hsl(201, 100%, 45%) |
#258bc2 Color Usage In CSS
body { color: #258bc2; } p { color: rgb(37, 139, 194); } header { border-bottom:1px solid #258bc2; }