#2d65ce Color
Color Codes | |
---|---|
Hex Code | #2d65ce |
RGB Code | rgb(45, 101, 206) |
HSL Code | hsl(219, 64%, 49%) |
#2d65ce Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(45, 101, 206); }
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(219, 64%, 49%); }
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 #2d65ce
RGB Code | Hex Code | Preview |
---|---|---|
rgb(45, 101, 206, 10%) | #2d65ce1a | |
rgb(45, 101, 206, 20%) | #2d65ce33 | |
rgb(45, 101, 206, 40%) | #2d65ce4C | |
rgb(45, 101, 206, 60%) | #2d65ce99 | |
rgb(45, 101, 206, 80%) | #2d65ceCC | |
rgb(45, 101, 206, 100%) | #2d65ceFF |
Saturated and desaturated colors of #2d65ce
HSL Code | Preview |
---|---|
hsl(219, 10%, 49%) | |
hsl(219, 20%, 49%) | |
hsl(219, 40%, 49%) | |
hsl(219, 60%, 49%) | |
hsl(219, 80%, 49%) | |
hsl(219, 100%, 49%) |
#2d65ce Color Usage In CSS
body { color: #2d65ce; } p { color: rgb(45, 101, 206); } header { border-bottom:1px solid #2d65ce; }