#1fd5f8 Color
Color Codes | |
---|---|
Hex Code | #1fd5f8 |
RGB Code | rgb(31, 213, 248) |
HSL Code | hsl(190, 94%, 55%) |
#1fd5f8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(31, 213, 248); }
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(190, 94%, 55%); }
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 #1fd5f8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(31, 213, 248, 10%) | #1fd5f81a | |
rgb(31, 213, 248, 20%) | #1fd5f833 | |
rgb(31, 213, 248, 40%) | #1fd5f84C | |
rgb(31, 213, 248, 60%) | #1fd5f899 | |
rgb(31, 213, 248, 80%) | #1fd5f8CC | |
rgb(31, 213, 248, 100%) | #1fd5f8FF |
Saturated and desaturated colors of #1fd5f8
HSL Code | Preview |
---|---|
hsl(190, 10%, 55%) | |
hsl(190, 20%, 55%) | |
hsl(190, 40%, 55%) | |
hsl(190, 60%, 55%) | |
hsl(190, 80%, 55%) | |
hsl(190, 100%, 55%) |
#1fd5f8 Color Usage In CSS
body { color: #1fd5f8; } p { color: rgb(31, 213, 248); } header { border-bottom:1px solid #1fd5f8; }