#fb0299 Color
Color Codes | |
---|---|
Hex Code | #fb0299 |
RGB Code | rgb(251, 02, 153) |
HSL Code | hsl(324, 98%, 50%) |
#fb0299 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(251, 02, 153); }
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(324, 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 #fb0299
RGB Code | Hex Code | Preview |
---|---|---|
rgb(251, 02, 153, 10%) | #fb02991a | |
rgb(251, 02, 153, 20%) | #fb029933 | |
rgb(251, 02, 153, 40%) | #fb02994C | |
rgb(251, 02, 153, 60%) | #fb029999 | |
rgb(251, 02, 153, 80%) | #fb0299CC | |
rgb(251, 02, 153, 100%) | #fb0299FF |
Saturated and desaturated colors of #fb0299
HSL Code | Preview |
---|---|
hsl(324, 10%, 50%) | |
hsl(324, 20%, 50%) | |
hsl(324, 40%, 50%) | |
hsl(324, 60%, 50%) | |
hsl(324, 80%, 50%) | |
hsl(324, 100%, 50%) |
#fb0299 Color Usage In CSS
body { color: #fb0299; } p { color: rgb(251, 02, 153); } header { border-bottom:1px solid #fb0299; }