#294fea Color
Color Codes | |
---|---|
Hex Code | #294fea |
RGB Code | rgb(41, 79, 234) |
HSL Code | hsl(228, 82%, 54%) |
#294fea Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(41, 79, 234); }
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(228, 82%, 54%); }
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 #294fea
RGB Code | Hex Code | Preview |
---|---|---|
rgb(41, 79, 234, 10%) | #294fea1a | |
rgb(41, 79, 234, 20%) | #294fea33 | |
rgb(41, 79, 234, 40%) | #294fea4C | |
rgb(41, 79, 234, 60%) | #294fea99 | |
rgb(41, 79, 234, 80%) | #294feaCC | |
rgb(41, 79, 234, 100%) | #294feaFF |
Saturated and desaturated colors of #294fea
HSL Code | Preview |
---|---|
hsl(228, 10%, 54%) | |
hsl(228, 20%, 54%) | |
hsl(228, 40%, 54%) | |
hsl(228, 60%, 54%) | |
hsl(228, 80%, 54%) | |
hsl(228, 100%, 54%) |
#294fea Color Usage In CSS
body { color: #294fea; } p { color: rgb(41, 79, 234); } header { border-bottom:1px solid #294fea; }