#1a6554 Color
Color Codes | |
---|---|
Hex Code | #1a6554 |
RGB Code | rgb(26, 101, 84) |
HSL Code | hsl(166, 59%, 25%) |
#1a6554 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(26, 101, 84); }
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(166, 59%, 25%); }
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 #1a6554
RGB Code | Hex Code | Preview |
---|---|---|
rgb(26, 101, 84, 10%) | #1a65541a | |
rgb(26, 101, 84, 20%) | #1a655433 | |
rgb(26, 101, 84, 40%) | #1a65544C | |
rgb(26, 101, 84, 60%) | #1a655499 | |
rgb(26, 101, 84, 80%) | #1a6554CC | |
rgb(26, 101, 84, 100%) | #1a6554FF |
Saturated and desaturated colors of #1a6554
HSL Code | Preview |
---|---|
hsl(166, 10%, 25%) | |
hsl(166, 20%, 25%) | |
hsl(166, 40%, 25%) | |
hsl(166, 60%, 25%) | |
hsl(166, 80%, 25%) | |
hsl(166, 100%, 25%) |
#1a6554 Color Usage In CSS
body { color: #1a6554; } p { color: rgb(26, 101, 84); } header { border-bottom:1px solid #1a6554; }