#1b0a80 Color
Color Codes | |
---|---|
Hex Code | #1b0a80 |
RGB Code | rgb(27, 10, 128) |
HSL Code | hsl(249, 86%, 27%) |
#1b0a80 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(27, 10, 128); }
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(249, 86%, 27%); }
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 #1b0a80
RGB Code | Hex Code | Preview |
---|---|---|
rgb(27, 10, 128, 10%) | #1b0a801a | |
rgb(27, 10, 128, 20%) | #1b0a8033 | |
rgb(27, 10, 128, 40%) | #1b0a804C | |
rgb(27, 10, 128, 60%) | #1b0a8099 | |
rgb(27, 10, 128, 80%) | #1b0a80CC | |
rgb(27, 10, 128, 100%) | #1b0a80FF |
Saturated and desaturated colors of #1b0a80
HSL Code | Preview |
---|---|
hsl(249, 10%, 27%) | |
hsl(249, 20%, 27%) | |
hsl(249, 40%, 27%) | |
hsl(249, 60%, 27%) | |
hsl(249, 80%, 27%) | |
hsl(249, 100%, 27%) |
#1b0a80 Color Usage In CSS
body { color: #1b0a80; } p { color: rgb(27, 10, 128); } header { border-bottom:1px solid #1b0a80; }