#ff298b Color
Color Codes | |
---|---|
Hex Code | #ff298b |
RGB Code | rgb(255, 41, 139) |
HSL Code | hsl(333, 100%, 58%) |
#ff298b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(255, 41, 139); }
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(333, 100%, 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 #ff298b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(255, 41, 139, 10%) | #ff298b1a | |
rgb(255, 41, 139, 20%) | #ff298b33 | |
rgb(255, 41, 139, 40%) | #ff298b4C | |
rgb(255, 41, 139, 60%) | #ff298b99 | |
rgb(255, 41, 139, 80%) | #ff298bCC | |
rgb(255, 41, 139, 100%) | #ff298bFF |
Saturated and desaturated colors of #ff298b
HSL Code | Preview |
---|---|
hsl(333, 10%, 58%) | |
hsl(333, 20%, 58%) | |
hsl(333, 40%, 58%) | |
hsl(333, 60%, 58%) | |
hsl(333, 80%, 58%) | |
hsl(333, 100%, 58%) |
#ff298b Color Usage In CSS
body { color: #ff298b; } p { color: rgb(255, 41, 139); } header { border-bottom:1px solid #ff298b; }