#250b0f Color
Color Codes | |
---|---|
Hex Code | #250b0f |
RGB Code | rgb(37, 11, 15) |
HSL Code | hsl(351, 54%, 9%) |
#250b0f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(37, 11, 15); }
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(351, 54%, 9%); }
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 #250b0f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(37, 11, 15, 10%) | #250b0f1a | |
rgb(37, 11, 15, 20%) | #250b0f33 | |
rgb(37, 11, 15, 40%) | #250b0f4C | |
rgb(37, 11, 15, 60%) | #250b0f99 | |
rgb(37, 11, 15, 80%) | #250b0fCC | |
rgb(37, 11, 15, 100%) | #250b0fFF |
Saturated and desaturated colors of #250b0f
HSL Code | Preview |
---|---|
hsl(351, 10%, 9%) | |
hsl(351, 20%, 9%) | |
hsl(351, 40%, 9%) | |
hsl(351, 60%, 9%) | |
hsl(351, 80%, 9%) | |
hsl(351, 100%, 9%) |
#250b0f Color Usage In CSS
body { color: #250b0f; } p { color: rgb(37, 11, 15); } header { border-bottom:1px solid #250b0f; }