#39a5fe Color
Color Codes | |
---|---|
Hex Code | #39a5fe |
RGB Code | rgb(57, 165, 254) |
HSL Code | hsl(207, 99%, 61%) |
#39a5fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(57, 165, 254); }
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(207, 99%, 61%); }
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 #39a5fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(57, 165, 254, 10%) | #39a5fe1a | |
rgb(57, 165, 254, 20%) | #39a5fe33 | |
rgb(57, 165, 254, 40%) | #39a5fe4C | |
rgb(57, 165, 254, 60%) | #39a5fe99 | |
rgb(57, 165, 254, 80%) | #39a5feCC | |
rgb(57, 165, 254, 100%) | #39a5feFF |
Saturated and desaturated colors of #39a5fe
HSL Code | Preview |
---|---|
hsl(207, 10%, 61%) | |
hsl(207, 20%, 61%) | |
hsl(207, 40%, 61%) | |
hsl(207, 60%, 61%) | |
hsl(207, 80%, 61%) | |
hsl(207, 100%, 61%) |
#39a5fe Color Usage In CSS
body { color: #39a5fe; } p { color: rgb(57, 165, 254); } header { border-bottom:1px solid #39a5fe; }