#fb0331 Color
Color Codes | |
---|---|
Hex Code | #fb0331 |
RGB Code | rgb(251, 03, 49) |
HSL Code | hsl(349, 98%, 50%) |
#fb0331 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(251, 03, 49); }
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(349, 98%, 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 #fb0331
RGB Code | Hex Code | Preview |
---|---|---|
rgb(251, 03, 49, 10%) | #fb03311a | |
rgb(251, 03, 49, 20%) | #fb033133 | |
rgb(251, 03, 49, 40%) | #fb03314C | |
rgb(251, 03, 49, 60%) | #fb033199 | |
rgb(251, 03, 49, 80%) | #fb0331CC | |
rgb(251, 03, 49, 100%) | #fb0331FF |
Saturated and desaturated colors of #fb0331
HSL Code | Preview |
---|---|
hsl(349, 10%, 50%) | |
hsl(349, 20%, 50%) | |
hsl(349, 40%, 50%) | |
hsl(349, 60%, 50%) | |
hsl(349, 80%, 50%) | |
hsl(349, 100%, 50%) |
#fb0331 Color Usage In CSS
body { color: #fb0331; } p { color: rgb(251, 03, 49); } header { border-bottom:1px solid #fb0331; }