#25285c Color
Color Codes | |
---|---|
Hex Code | #25285c |
RGB Code | rgb(37, 40, 92) |
HSL Code | hsl(237, 43%, 25%) |
#25285c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(37, 40, 92); }
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(237, 43%, 25%); }
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 #25285c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(37, 40, 92, 10%) | #25285c1a | |
rgb(37, 40, 92, 20%) | #25285c33 | |
rgb(37, 40, 92, 40%) | #25285c4C | |
rgb(37, 40, 92, 60%) | #25285c99 | |
rgb(37, 40, 92, 80%) | #25285cCC | |
rgb(37, 40, 92, 100%) | #25285cFF |
Saturated and desaturated colors of #25285c
HSL Code | Preview |
---|---|
hsl(237, 10%, 25%) | |
hsl(237, 20%, 25%) | |
hsl(237, 40%, 25%) | |
hsl(237, 60%, 25%) | |
hsl(237, 80%, 25%) | |
hsl(237, 100%, 25%) |
#25285c Color Usage In CSS
body { color: #25285c; } p { color: rgb(37, 40, 92); } header { border-bottom:1px solid #25285c; }