HEX: #4887AA
RGB: (72,135,170)
#4887AA contains mainly green and blue colors. Web safe color of #4887AA is #339999 (or #399).
#4887AA color RGB value is (72,135,170).
RGB: (72,135,170) (28%,53%,67%)
R 72 of 255 = 28%
G 135 of 255 = 53%
B 170 of 255 = 67%
R + G + B ~ 49%. #4887AA is middle color (not dark and not light).
R + G + B =
72 + 135 + 170 = 377 (100%)
R 72 of 377 ~ 19.1%
G 135 of 377 ~ 35.81%
B 170 of 377 ~ 45.09%
#4887AA color CMYK value is (58,21,0,33).
CMYK: (58,21,0,33) C58M21Y0K33 (58%,21%,0%,33%) (0.58/0.21/0.00/0.33)
48 | 87 | AA | |
---|---|---|---|
RGB | 72 | 135 | 170 |
HSL | 201° | 40.50% | 47.45% |
HSB/HSV | 201° | 57.65% | 66.67% |
CMYK | 57.65% | 20.59% | 0.00% |
33.33% |
HEX | 48 | 87 | AA |
Decimal | 72 | 135 | 170 |
Binary | 1001000 | 10000111 | 10101010 |
Octal | 110 | 207 | 252 |
Examples of css and html codes for elements with #4887AA color. Also use rgb(72,135,170) instead hex code.
.myTextColor { color: #4887AA; }
<p style="color:#4887AA">This sample text font color is #4887AA.</p>
This text font color is #4887AA.
.myBgColor { background-color: #4887AA; }
<div style="background-color:#4887AA">Inner text</div>
This div background color is #4887AA.
.myBorderColor { border: 1px solid #4887AA; }
<div style="border:3px solid #4887AA">Div</div>
This div border color is #4887AA.
.myOpacity80 { color: #4887AA; opacity: 0.8; }
<p style="color:#4887AA;opacity:0.8;">80%</p>
Text with #4887AA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4887AA;}
<p style="text-shadow: 3px 3px 1px #4887AA">Text here.</p>
This text has shadow with #4887AA color.
.textShadow {text-shadow: 3px 3px 1px #4887AA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4887AA, 5px 5px 20px red">Text here.</p>
This text has shadow with #4887AA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4887AA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4887AA, Direction=45, Strength=4)">Text</p>
This text has shadow with #4887AA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4887AA; -webkit-box-shadow: 1px 1px 3px 2px #4887AA; box-shadow: 1px 1px 3px 2px #4887AA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4887AA; -webkit-box-shadow: 1px 1px 3px 2px #4887AA; box-shadow:1px 1px 3px 2px #4887AA;">
Div content here</div>
This text has color #4887AA on black background.
This text has color #4887AA on white background.
This text has black color on #4887AA background.
This text has white color on #4887AA background.