#4b4cc1 Color
Color Codes | |
---|---|
Hex Code | #4b4cc1 |
RGB Code | rgb(75, 76, 193) |
HSL Code | hsl(239, 49%, 53%) |
#4b4cc1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(75, 76, 193); }
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(239, 49%, 53%); }
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 #4b4cc1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(75, 76, 193, 10%) | #4b4cc11a | |
rgb(75, 76, 193, 20%) | #4b4cc133 | |
rgb(75, 76, 193, 40%) | #4b4cc14C | |
rgb(75, 76, 193, 60%) | #4b4cc199 | |
rgb(75, 76, 193, 80%) | #4b4cc1CC | |
rgb(75, 76, 193, 100%) | #4b4cc1FF |
Saturated and desaturated colors of #4b4cc1
HSL Code | Preview |
---|---|
hsl(239, 10%, 53%) | |
hsl(239, 20%, 53%) | |
hsl(239, 40%, 53%) | |
hsl(239, 60%, 53%) | |
hsl(239, 80%, 53%) | |
hsl(239, 100%, 53%) |
#4b4cc1 Color Usage In CSS
body { color: #4b4cc1; } p { color: rgb(75, 76, 193); } header { border-bottom:1px solid #4b4cc1; }