#333bf7 Color
Color Codes | |
---|---|
Hex Code | #333bf7 |
RGB Code | rgb(51, 59, 247) |
HSL Code | hsl(238, 92%, 58%) |
#333bf7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(51, 59, 247); }
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(238, 92%, 58%); }
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 #333bf7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(51, 59, 247, 10%) | #333bf71a | |
rgb(51, 59, 247, 20%) | #333bf733 | |
rgb(51, 59, 247, 40%) | #333bf74C | |
rgb(51, 59, 247, 60%) | #333bf799 | |
rgb(51, 59, 247, 80%) | #333bf7CC | |
rgb(51, 59, 247, 100%) | #333bf7FF |
Saturated and desaturated colors of #333bf7
HSL Code | Preview |
---|---|
hsl(238, 10%, 58%) | |
hsl(238, 20%, 58%) | |
hsl(238, 40%, 58%) | |
hsl(238, 60%, 58%) | |
hsl(238, 80%, 58%) | |
hsl(238, 100%, 58%) |
#333bf7 Color Usage In CSS
body { color: #333bf7; } p { color: rgb(51, 59, 247); } header { border-bottom:1px solid #333bf7; }