#f612d3 Color
Color Codes | |
---|---|
Hex Code | #f612d3 |
RGB Code | rgb(246, 18, 211) |
HSL Code | hsl(309, 93%, 52%) |
#f612d3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(246, 18, 211); }
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(309, 93%, 52%); }
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 #f612d3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(246, 18, 211, 10%) | #f612d31a | |
rgb(246, 18, 211, 20%) | #f612d333 | |
rgb(246, 18, 211, 40%) | #f612d34C | |
rgb(246, 18, 211, 60%) | #f612d399 | |
rgb(246, 18, 211, 80%) | #f612d3CC | |
rgb(246, 18, 211, 100%) | #f612d3FF |
Saturated and desaturated colors of #f612d3
HSL Code | Preview |
---|---|
hsl(309, 10%, 52%) | |
hsl(309, 20%, 52%) | |
hsl(309, 40%, 52%) | |
hsl(309, 60%, 52%) | |
hsl(309, 80%, 52%) | |
hsl(309, 100%, 52%) |
#f612d3 Color Usage In CSS
body { color: #f612d3; } p { color: rgb(246, 18, 211); } header { border-bottom:1px solid #f612d3; }