#2836d7 Color
Color Codes | |
---|---|
Hex Code | #2836d7 |
RGB Code | rgb(40, 54, 215) |
HSL Code | hsl(235, 69%, 50%) |
#2836d7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(40, 54, 215); }
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(235, 69%, 50%); }
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 #2836d7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(40, 54, 215, 10%) | #2836d71a | |
rgb(40, 54, 215, 20%) | #2836d733 | |
rgb(40, 54, 215, 40%) | #2836d74C | |
rgb(40, 54, 215, 60%) | #2836d799 | |
rgb(40, 54, 215, 80%) | #2836d7CC | |
rgb(40, 54, 215, 100%) | #2836d7FF |
Saturated and desaturated colors of #2836d7
HSL Code | Preview |
---|---|
hsl(235, 10%, 50%) | |
hsl(235, 20%, 50%) | |
hsl(235, 40%, 50%) | |
hsl(235, 60%, 50%) | |
hsl(235, 80%, 50%) | |
hsl(235, 100%, 50%) |
#2836d7 Color Usage In CSS
body { color: #2836d7; } p { color: rgb(40, 54, 215); } header { border-bottom:1px solid #2836d7; }