#254ecb Color
Color Codes | |
---|---|
Hex Code | #254ecb |
RGB Code | rgb(37, 78, 203) |
HSL Code | hsl(225, 69%, 47%) |
#254ecb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(37, 78, 203); }
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(225, 69%, 47%); }
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 #254ecb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(37, 78, 203, 10%) | #254ecb1a | |
rgb(37, 78, 203, 20%) | #254ecb33 | |
rgb(37, 78, 203, 40%) | #254ecb4C | |
rgb(37, 78, 203, 60%) | #254ecb99 | |
rgb(37, 78, 203, 80%) | #254ecbCC | |
rgb(37, 78, 203, 100%) | #254ecbFF |
Saturated and desaturated colors of #254ecb
HSL Code | Preview |
---|---|
hsl(225, 10%, 47%) | |
hsl(225, 20%, 47%) | |
hsl(225, 40%, 47%) | |
hsl(225, 60%, 47%) | |
hsl(225, 80%, 47%) | |
hsl(225, 100%, 47%) |
#254ecb Color Usage In CSS
body { color: #254ecb; } p { color: rgb(37, 78, 203); } header { border-bottom:1px solid #254ecb; }