#4b6fee Color
Color Codes | |
---|---|
Hex Code | #4b6fee |
RGB Code | rgb(75, 111, 238) |
HSL Code | hsl(227, 83%, 61%) |
#4b6fee Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(75, 111, 238); }
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(227, 83%, 61%); }
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 #4b6fee
RGB Code | Hex Code | Preview |
---|---|---|
rgb(75, 111, 238, 10%) | #4b6fee1a | |
rgb(75, 111, 238, 20%) | #4b6fee33 | |
rgb(75, 111, 238, 40%) | #4b6fee4C | |
rgb(75, 111, 238, 60%) | #4b6fee99 | |
rgb(75, 111, 238, 80%) | #4b6feeCC | |
rgb(75, 111, 238, 100%) | #4b6feeFF |
Saturated and desaturated colors of #4b6fee
HSL Code | Preview |
---|---|
hsl(227, 10%, 61%) | |
hsl(227, 20%, 61%) | |
hsl(227, 40%, 61%) | |
hsl(227, 60%, 61%) | |
hsl(227, 80%, 61%) | |
hsl(227, 100%, 61%) |
#4b6fee Color Usage In CSS
body { color: #4b6fee; } p { color: rgb(75, 111, 238); } header { border-bottom:1px solid #4b6fee; }