#260c52 Color
Color Codes | |
---|---|
Hex Code | #260c52 |
RGB Code | rgb(38, 12, 82) |
HSL Code | hsl(262, 74%, 18%) |
#260c52 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(38, 12, 82); }
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(262, 74%, 18%); }
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 #260c52
RGB Code | Hex Code | Preview |
---|---|---|
rgb(38, 12, 82, 10%) | #260c521a | |
rgb(38, 12, 82, 20%) | #260c5233 | |
rgb(38, 12, 82, 40%) | #260c524C | |
rgb(38, 12, 82, 60%) | #260c5299 | |
rgb(38, 12, 82, 80%) | #260c52CC | |
rgb(38, 12, 82, 100%) | #260c52FF |
Saturated and desaturated colors of #260c52
HSL Code | Preview |
---|---|
hsl(262, 10%, 18%) | |
hsl(262, 20%, 18%) | |
hsl(262, 40%, 18%) | |
hsl(262, 60%, 18%) | |
hsl(262, 80%, 18%) | |
hsl(262, 100%, 18%) |
#260c52 Color Usage In CSS
body { color: #260c52; } p { color: rgb(38, 12, 82); } header { border-bottom:1px solid #260c52; }